Documentation
¶
Index ¶
- Constants
- func Debug(message ...any)
- func DebugF(message string, args ...any)
- func Error(message ...any)
- func ErrorF(message string, args ...any)
- func Fatal(message ...any)
- func FatalF(message string, args ...any)
- func Info(message ...any)
- func InfoF(message string, args ...any)
- func SetLevel(level Level)
- func SetOutput(w io.Writer)
- func Warn(message ...any)
- func WarnF(message string, args ...any)
- type Level
- type Logger
- func (ctx *Logger) Debug(message ...any)
- func (ctx *Logger) DebugF(message string, args ...any)
- func (ctx *Logger) Error(message ...any)
- func (ctx *Logger) ErrorF(message string, args ...any)
- func (ctx *Logger) Fatal(message ...any)
- func (ctx *Logger) FatalF(message string, args ...any)
- func (ctx *Logger) GetLevel() Level
- func (ctx *Logger) Info(message ...any)
- func (ctx *Logger) InfoF(message string, args ...any)
- func (ctx *Logger) SetLevel(level Level)
- func (ctx *Logger) SetOutput(w io.Writer)
- func (ctx *Logger) Warn(message ...any)
- func (ctx *Logger) WarnF(message string, args ...any)
- type Styles
Constants ¶
View Source
const MinTermWidth = 200
Variables ¶
This section is empty.
Functions ¶
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
get_logger
command
|
|
|
lambda_crash
command
|
|
|
simple
command
|
|
|
write_file
command
|
|
Click to show internal directories.
Click to hide internal directories.
It provides a leveled structured human-readable logger with a small API.
Unlike standard log, the gollogging library provides a leveled logger with a structured output.