Documentation ¶
Index ¶
- func Critical(ctx context.Context, format string, v ...interface{})
- func Debug(ctx context.Context, format string, v ...interface{})
- func Error(ctx context.Context, format string, v ...interface{})
- func Info(ctx context.Context, format string, v ...interface{})
- func SetLevelByString(level string)
- func SetOutput(output io.Writer)
- func Warn(ctx context.Context, format string, v ...interface{})
- type Level
- type Logger
- func (logger *Logger) Critical(ctx context.Context, format string, args ...interface{})
- func (logger *Logger) Debug(ctx context.Context, format string, args ...interface{})
- func (logger *Logger) Error(ctx context.Context, format string, args ...interface{})
- func (logger *Logger) HideCallstack() *Logger
- func (logger *Logger) Info(ctx context.Context, format string, args ...interface{})
- func (logger *Logger) SetLevel(level Level)
- func (logger *Logger) SetLevelByString(level string)
- func (logger *Logger) SetOutput(output io.Writer) *Logger
- func (logger *Logger) Warn(ctx context.Context, format string, args ...interface{})
- func (logger *Logger) WithDepth(depth int) *Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLevelByString ¶
func SetLevelByString(level string)
Types ¶
Click to show internal directories.
Click to hide internal directories.