# Functions
Debug uses the fmt.Sprint to construct and log a message using the DefaultLogger.
Debugf uses the fmt.Sprintf to log a templated message using the DefaultLogger.
Debugw logs a message with some additional context using the DefaultLogger.
Error uses the fmt.Sprint to construct and log a message using the DefaultLogger.
Errorf uses the fmt.Sprintf to log a templated message using the DefaultLogger.
Errorw logs a message with some additional context using the DefaultLogger.
Fatal uses the fmt.Sprint to construct and log a message using the DefaultLogger.
Fatalf uses the fmt.Sprintf to log a templated message using the DefaultLogger.
Fatalw logs a message with some additional context using the DefaultLogger.
GinLogger receive gin The default log of the framework.
GinRecovery recover Drop the project that may appear panic.
Info uses the fmt.Sprint to construct and log a message using the DefaultLogger.
Infof uses the fmt.Sprintf to log a templated message using the DefaultLogger.
Infow logs a message with some additional context using the DefaultLogger.
Level returns the DefaultLogger log level.
NewLogger sets up a Logger object according to a series of options.
Panic uses the fmt.Sprint to construct and log a message using the DefaultLogger.
Panicf uses the fmt.Sprintf to log a templated message using the DefaultLogger.
Panicw logs a message with some additional context using the DefaultLogger.
Warn uses the fmt.Sprint to construct and log a message using the DefaultLogger.
Warnf uses the fmt.Sprintf to log a templated message using the DefaultLogger.
Warnw logs a message with some additional context using the DefaultLogger.
WithLogLevel sets the log level.
WithOutputFile sets the output file path.
WithWriteSyncer is a low level API which sets the underlying WriteSyncer by providing a zapcore.WriterSyncer, which has high priority than WithOutputFile.
# Variables
DefaultLogger is the default logger, which logs message to stderr and with the minimal level "warn".
# Structs
Logger is a log object, which exposes standard APIs like errorf, error, warn, warnf and etcd.
# Interfaces
Option configures how to set up logger.