Documentation ¶
Index ¶
Constants ¶
View Source
const ( ERROR = LogLevel(0) DEBUG = LogLevel(1) )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DaveLogger ¶ added in v0.0.51
type DaveLogger struct {
// contains filtered or unexported fields
}
func NewDaveLogger ¶ added in v0.0.51
func NewDaveLogger(cfg *DaveLoggerCfg) (*DaveLogger, error)
func NewDaveLoggerToDevNull ¶ added in v0.0.51
func NewDaveLoggerToDevNull() *DaveLogger
func (*DaveLogger) Level ¶ added in v0.0.51
func (l *DaveLogger) Level() LogLevel
func (*DaveLogger) Log ¶ added in v0.0.51
func (l *DaveLogger) Log(level LogLevel, msg string, args ...any)
func (*DaveLogger) WithPrefix ¶ added in v0.0.51
func (l *DaveLogger) WithPrefix(prefix string) Logger
type DaveLoggerCfg ¶ added in v0.0.51
Click to show internal directories.
Click to hide internal directories.