Documentation ¶
Index ¶
- func Alert(args ...interface{})
- func Alertf(format string, args ...interface{})
- func Critical(args ...interface{})
- func Criticalf(format string, args ...interface{})
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Default(args ...interface{})
- func Defaultf(format string, args ...interface{})
- func Emergency(args ...interface{})
- func Emergencyf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Notice(args ...interface{})
- func Noticef(format string, args ...interface{})
- func Warning(args ...interface{})
- func Warningf(format string, args ...interface{})
- type Logger
- func (l *Logger) Alert(args ...interface{})
- func (l *Logger) Alertf(format string, args ...interface{})
- func (l *Logger) Critical(args ...interface{})
- func (l *Logger) Criticalf(format string, args ...interface{})
- func (l *Logger) Debug(args ...interface{})
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Default(args ...interface{})
- func (l *Logger) Defaultf(format string, args ...interface{})
- func (l *Logger) Emergency(args ...interface{})
- func (l *Logger) Emergencyf(format string, args ...interface{})
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Info(args ...interface{})
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) Notice(args ...interface{})
- func (l *Logger) Noticef(format string, args ...interface{})
- func (l *Logger) SetFormat(format string) *Logger
- func (l *Logger) SetLevel(level string) (*Logger, error)
- func (l *Logger) SetOutput(output io.Writer) *Logger
- func (l *Logger) Warning(args ...interface{})
- func (l *Logger) Warningf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Alert ¶
func Alert(args ...interface{})
Alert logs a message at level Alert on the standard logger.
func Alertf ¶
func Alertf(format string, args ...interface{})
Alertf logs a message at level Alert on the standard logger.
func Critical ¶
func Critical(args ...interface{})
Critical logs a message at level Critical on the standard logger.
func Criticalf ¶
func Criticalf(format string, args ...interface{})
Criticalf logs a message at level Critical on the standard logger.
func Debug ¶
func Debug(args ...interface{})
Debug logs a message at level Debug on the standard logger.
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf logs a message at level Debug on the standard logger.
func Default ¶
func Default(args ...interface{})
Default logs a message at level Default on the standard logger.
func Defaultf ¶
func Defaultf(format string, args ...interface{})
Defaultf logs a message at level Default on the standard logger.
func Emergency ¶
func Emergency(args ...interface{})
Emergency logs a message at level Emergency on the standard logger.
func Emergencyf ¶
func Emergencyf(format string, args ...interface{})
Emergencyf logs a message at level Emergency on the standard logger.
func Error ¶
func Error(args ...interface{})
Error logs a message at level Error on the standard logger.
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf logs a message at level Error on the standard logger.
func Info ¶
func Info(args ...interface{})
Info logs a message at level Info on the standard logger.
func Infof ¶
func Infof(format string, args ...interface{})
Infof logs a message at level Info on the standard logger.
func Notice ¶
func Notice(args ...interface{})
Notice logs a message at level Notice on the standard logger.
func Noticef ¶
func Noticef(format string, args ...interface{})
Noticef logs a message at level Notice on the standard logger.
Types ¶
type Logger ¶
Logger is configuration
func (*Logger) Alert ¶
func (l *Logger) Alert(args ...interface{})
Alert logs a message at level Alert on the custom logger.
func (*Logger) Critical ¶
func (l *Logger) Critical(args ...interface{})
Critical logs a message at level Critical on the custom logger.
func (*Logger) Debug ¶
func (l *Logger) Debug(args ...interface{})
Debug logs a message at level Debug on the custom logger.
func (*Logger) Default ¶
func (l *Logger) Default(args ...interface{})
Default logs a message at level Default on the custom logger.
func (*Logger) Emergency ¶
func (l *Logger) Emergency(args ...interface{})
Emergency logs a message at level Emergency on the custom logger.
func (*Logger) Emergencyf ¶
Emergencyf logs a message at level Emergency on the custom logger.
func (*Logger) Error ¶
func (l *Logger) Error(args ...interface{})
Error logs a message at level Error on the custom logger.
func (*Logger) Info ¶
func (l *Logger) Info(args ...interface{})
Info logs a message at level Info on the custom logger.
func (*Logger) Notice ¶
func (l *Logger) Notice(args ...interface{})
Notice logs a message at level Notice on the custom logger.