Documentation
¶
Index ¶
- Constants
- Variables
- func New(name string, mods ...Modifier) (logger.Logger, error)
- type Flags
- type Logger
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Enabled(_ context.Context, level slog.Level) bool
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Handle(_ context.Context, record slog.Record) error
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) SetOutput(io.Writer)
- func (l *Logger) Shutdown(ctx context.Context) error
- func (l *Logger) Warnf(format string, args ...interface{})
- type Modifier
- type Modifiers
Constants ¶
View Source
const Supported = true
Variables ¶
View Source
var ErrUnsupported = errors.New("syslog is not supported on this platform")
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.