Documentation
¶
Overview ¶
Package logger provides interfaces and implementations for working with logs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsoleLogger ¶
type ConsoleLogger struct{}
func (ConsoleLogger) Debug ¶
func (c ConsoleLogger) Debug(msg string, fields ...any)
func (ConsoleLogger) Error ¶
func (c ConsoleLogger) Error(msg string, fields ...any)
func (ConsoleLogger) Info ¶
func (c ConsoleLogger) Info(msg string, fields ...any)
func (ConsoleLogger) Warn ¶
func (c ConsoleLogger) Warn(msg string, fields ...any)
type DevNullLogger ¶
type DevNullLogger struct{}
func (*DevNullLogger) Debug ¶
func (d *DevNullLogger) Debug(string, ...any)
Debug implements Logger.
func (*DevNullLogger) Error ¶
func (d *DevNullLogger) Error(string, ...any)
Error implements Logger.
Click to show internal directories.
Click to hide internal directories.