Documentation ¶
Index ¶
- func Attach(kvs ...string)
- func Ctx(ctx context.Context) *zerolog.Logger
- func Debug() *zerolog.Event
- func Error() *zerolog.Event
- func Fatal() *zerolog.Event
- func Info() *zerolog.Event
- func Log() *zerolog.Event
- func Logger() zerolog.Logger
- func NewConsoleWriter() io.Writer
- func NewFileWriter(c FileWriterConfig) io.Writer
- func Panic() *zerolog.Event
- func SetLogger(l zerolog.Logger)
- func Trace() *zerolog.Event
- func Warn() *zerolog.Event
- func With() zerolog.Context
- func WithLevel(level zerolog.Level) *zerolog.Event
- type FileWriterConfig
- type L
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsoleWriter ¶
func NewFileWriter ¶
func NewFileWriter(c FileWriterConfig) io.Writer
Types ¶
type FileWriterConfig ¶
Click to show internal directories.
Click to hide internal directories.