var std … func StandardLogger() *Logger { … } // SetOutput sets the standard logger output. func SetOutput(out io.Writer) { … } // SetFormatter sets the standard logger formatter. func SetFormatter(formatter Formatter) { … } // SetReportCaller sets whether the standard logger will include the calling // method as a field. func SetReportCaller(include bool) { … } // SetLevel sets the standard logger level. func SetLevel(level Level) { … } // GetLevel returns the standard logger level. func GetLevel() Level { … } // IsLevelEnabled checks if the log level of the standard logger is greater than the level param func IsLevelEnabled(level Level) bool { … } // AddHook adds a hook to the standard logger hooks. func AddHook(hook Hook) { … } // WithError creates an entry from the standard logger and adds an error to it, using the value defined in ErrorKey as key. func WithError(err error) *Entry { … } // WithContext creates an entry from the standard logger and adds a context to it. func WithContext(ctx context.Context) *Entry { … } // WithField creates an entry from the standard logger and adds a field to // it. If you want multiple fields, use `WithFields`. // // Note that it doesn't log until you call Debug, Print, Info, Warn, Fatal // or Panic on the Entry it returns. func WithField(key string, value interface{ … } // WithFields creates an entry from the standard logger and adds multiple // fields to it. This is simply a helper for `WithField`, invoking it // once for each field. // // Note that it doesn't log until you call Debug, Print, Info, Warn, Fatal // or Panic on the Entry it returns. func WithFields(fields Fields) *Entry { … } // WithTime creates an entry from the standard logger and overrides the time of // logs generated with it. // // Note that it doesn't log until you call Debug, Print, Info, Warn, Fatal // or Panic on the Entry it returns. func WithTime(t time.Time) *Entry { … } // Trace logs a message at level Trace on the standard logger. func Trace(args ...interface{ … } // Debug logs a message at level Debug on the standard logger. func Debug(args ...interface{ … } // Print logs a message at level Info on the standard logger. func Print(args ...interface{ … } // Info logs a message at level Info on the standard logger. func Info(args ...interface{ … } // Warn logs a message at level Warn on the standard logger. func Warn(args ...interface{ … } // Warning logs a message at level Warn on the standard logger. func Warning(args ...interface{ … } // Error logs a message at level Error on the standard logger. func Error(args ...interface{ … } // Panic logs a message at level Panic on the standard logger. func Panic(args ...interface{ … } // Fatal logs a message at level Fatal on the standard logger then the process will exit with status set to 1. func Fatal(args ...interface{ … } // TraceFn logs a message from a func at level Trace on the standard logger. func TraceFn(fn LogFunction) { … } // DebugFn logs a message from a func at level Debug on the standard logger. func DebugFn(fn LogFunction) { … } // PrintFn logs a message from a func at level Info on the standard logger. func PrintFn(fn LogFunction) { … } // InfoFn logs a message from a func at level Info on the standard logger. func InfoFn(fn LogFunction) { … } // WarnFn logs a message from a func at level Warn on the standard logger. func WarnFn(fn LogFunction) { … } // WarningFn logs a message from a func at level Warn on the standard logger. func WarningFn(fn LogFunction) { … } // ErrorFn logs a message from a func at level Error on the standard logger. func ErrorFn(fn LogFunction) { … } // PanicFn logs a message from a func at level Panic on the standard logger. func PanicFn(fn LogFunction) { … } // FatalFn logs a message from a func at level Fatal on the standard logger then the process will exit with status set to 1. func FatalFn(fn LogFunction) { … } // Tracef logs a message at level Trace on the standard logger. func Tracef(format string, args ...interface{ … } // Debugf logs a message at level Debug on the standard logger. func Debugf(format string, args ...interface{ … } // Printf logs a message at level Info on the standard logger. func Printf(format string, args ...interface{ … } // Infof logs a message at level Info on the standard logger. func Infof(format string, args ...interface{ … } // Warnf logs a message at level Warn on the standard logger. func Warnf(format string, args ...interface{ … } // Warningf logs a message at level Warn on the standard logger. func Warningf(format string, args ...interface{ … } // Errorf logs a message at level Error on the standard logger. func Errorf(format string, args ...interface{ … } // Panicf logs a message at level Panic on the standard logger. func Panicf(format string, args ...interface{ … } // Fatalf logs a message at level Fatal on the standard logger then the process will exit with status set to 1. func Fatalf(format string, args ...interface{ … } // Traceln logs a message at level Trace on the standard logger. func Traceln(args ...interface{ … } // Debugln logs a message at level Debug on the standard logger. func Debugln(args ...interface{ … } // Println logs a message at level Info on the standard logger. func Println(args ...interface{ … } // Infoln logs a message at level Info on the standard logger. func Infoln(args ...interface{ … } // Warnln logs a message at level Warn on the standard logger. func Warnln(args ...interface{ … } // Warningln logs a message at level Warn on the standard logger. func Warningln(args ...interface{ … } // Errorln logs a message at level Error on the standard logger. func Errorln(args ...interface{ … } // Panicln logs a message at level Panic on the standard logger. func Panicln(args ...interface{ … } // Fatalln logs a message at level Fatal on the standard logger then the process will exit with status set to 1. func Fatalln(args ...interface{ … }