Documentation
¶
Index ¶
- func WriteSysLogError(syslog *syslog.Writer, msg string)
- func WriteSysLogInfo(syslog *syslog.Writer, msg string)
- type Level
- type Logger
- func (l *Logger) Debug(msg string)
- func (l *Logger) Debugf(msg string, args ...any)
- func (l *Logger) Error(msg string)
- func (l *Logger) Errorf(msg string, args ...any)
- func (l *Logger) Fatal(msg string)
- func (l *Logger) Fatalf(msg string, args ...any)
- func (l *Logger) Info(msg string)
- func (l *Logger) Infof(msg string, args ...any)
- func (l *Logger) ReOpen() error
- func (l *Logger) ReOpenOnSignal(sig syscall.Signal, syslog *syslog.Writer)
- func (l *Logger) Warn(msg string)
- func (l *Logger) Warnf(msg string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteSysLogError ¶
func WriteSysLogInfo ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) ReOpenOnSignal ¶
Click to show internal directories.
Click to hide internal directories.