Documentation ¶
Index ¶
- type CacheLogger
- func (l *CacheLogger) Clear()
- func (l *CacheLogger) Content() []string
- func (l *CacheLogger) ContentString() string
- func (l *CacheLogger) Error(msg string)
- func (l *CacheLogger) Errorf(msg string, args ...any)
- func (l *CacheLogger) Info(msg string)
- func (l *CacheLogger) Infof(msg string, args ...any)
- func (l *CacheLogger) Panic(msg string)
- func (l *CacheLogger) Panicf(msg string, args ...any)
- func (l *CacheLogger) Warn(msg string)
- func (l *CacheLogger) Warnf(msg string, args ...any)
- type ConsoleLogger
- func (l ConsoleLogger) Clear()
- func (l ConsoleLogger) Content() []string
- func (l ConsoleLogger) ContentString() string
- func (l ConsoleLogger) Error(msg string)
- func (l ConsoleLogger) Errorf(msg string, args ...any)
- func (l ConsoleLogger) Info(msg string)
- func (l ConsoleLogger) Infof(msg string, args ...any)
- func (l ConsoleLogger) Panic(msg string)
- func (l ConsoleLogger) Panicf(msg string, args ...any)
- func (l ConsoleLogger) Warn(msg string)
- func (l ConsoleLogger) Warnf(msg string, args ...any)
- type DevNullLogger
- func (l DevNullLogger) Clear()
- func (l DevNullLogger) Content() []string
- func (l DevNullLogger) ContentString() string
- func (l DevNullLogger) Error(msg string)
- func (l DevNullLogger) Errorf(format string, args ...any)
- func (l DevNullLogger) Info(msg string)
- func (l DevNullLogger) Infof(format string, args ...any)
- func (l DevNullLogger) Panic(msg string)
- func (l DevNullLogger) Panicf(format string, args ...any)
- func (l DevNullLogger) Warn(msg string)
- func (l DevNullLogger) Warnf(format string, args ...any)
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheLogger ¶
type CacheLogger struct {
// contains filtered or unexported fields
}
func NewCacheLogger ¶
func NewCacheLogger() *CacheLogger
func (*CacheLogger) Clear ¶
func (l *CacheLogger) Clear()
func (*CacheLogger) Content ¶
func (l *CacheLogger) Content() []string
func (*CacheLogger) ContentString ¶
func (l *CacheLogger) ContentString() string
func (*CacheLogger) Error ¶
func (l *CacheLogger) Error(msg string)
func (*CacheLogger) Errorf ¶
func (l *CacheLogger) Errorf(msg string, args ...any)
func (*CacheLogger) Info ¶
func (l *CacheLogger) Info(msg string)
func (*CacheLogger) Infof ¶
func (l *CacheLogger) Infof(msg string, args ...any)
func (*CacheLogger) Panic ¶
func (l *CacheLogger) Panic(msg string)
func (*CacheLogger) Panicf ¶
func (l *CacheLogger) Panicf(msg string, args ...any)
func (*CacheLogger) Warn ¶
func (l *CacheLogger) Warn(msg string)
func (*CacheLogger) Warnf ¶
func (l *CacheLogger) Warnf(msg string, args ...any)
type ConsoleLogger ¶
type ConsoleLogger struct {
// contains filtered or unexported fields
}
func NewConsoleLogger ¶
func NewConsoleLogger() ConsoleLogger
func (ConsoleLogger) Clear ¶
func (l ConsoleLogger) Clear()
func (ConsoleLogger) Content ¶
func (l ConsoleLogger) Content() []string
func (ConsoleLogger) ContentString ¶
func (l ConsoleLogger) ContentString() string
func (ConsoleLogger) Error ¶
func (l ConsoleLogger) Error(msg string)
func (ConsoleLogger) Errorf ¶
func (l ConsoleLogger) Errorf(msg string, args ...any)
func (ConsoleLogger) Info ¶
func (l ConsoleLogger) Info(msg string)
func (ConsoleLogger) Infof ¶
func (l ConsoleLogger) Infof(msg string, args ...any)
func (ConsoleLogger) Panic ¶
func (l ConsoleLogger) Panic(msg string)
func (ConsoleLogger) Panicf ¶
func (l ConsoleLogger) Panicf(msg string, args ...any)
func (ConsoleLogger) Warn ¶
func (l ConsoleLogger) Warn(msg string)
func (ConsoleLogger) Warnf ¶
func (l ConsoleLogger) Warnf(msg string, args ...any)
type DevNullLogger ¶
type DevNullLogger struct { }
func NewDevNullLogger ¶
func NewDevNullLogger() DevNullLogger
func (DevNullLogger) Clear ¶
func (l DevNullLogger) Clear()
func (DevNullLogger) Content ¶
func (l DevNullLogger) Content() []string
func (DevNullLogger) ContentString ¶
func (l DevNullLogger) ContentString() string
func (DevNullLogger) Error ¶
func (l DevNullLogger) Error(msg string)
func (DevNullLogger) Errorf ¶
func (l DevNullLogger) Errorf(format string, args ...any)
func (DevNullLogger) Info ¶
func (l DevNullLogger) Info(msg string)
func (DevNullLogger) Infof ¶
func (l DevNullLogger) Infof(format string, args ...any)
func (DevNullLogger) Panic ¶
func (l DevNullLogger) Panic(msg string)
func (DevNullLogger) Panicf ¶
func (l DevNullLogger) Panicf(format string, args ...any)
func (DevNullLogger) Warn ¶
func (l DevNullLogger) Warn(msg string)
func (DevNullLogger) Warnf ¶
func (l DevNullLogger) Warnf(format string, args ...any)
Click to show internal directories.
Click to hide internal directories.