# Functions
Debug logs a message at DebugLevel.
DefaultTimeEncoder serializes time.Time to a human-readable formatted string.
Error logs a message at ErrorLevel.
No description provided by the author
Fatal logs a message at FatalLevel.
GetLevel gets the logging level.
No description provided by the author
Info logs a message at InfoLevel.
InitLogger initializes a zap logger.
InitLoggerWithWriteSyncer initializes a zap logger with specified write syncer.
InitTestLogger initializes a logger for unit tests.
L returns the global Logger, which can be reconfigured with ReplaceGlobals.
No description provided by the author
set requestId in header.
No description provided by the author
NewTextCore creates a Core that writes logs to a WriteSyncer.
NewTextEncoder creates a fast, low-allocation Text encoder.
Panic logs a message at PanicLevel.
R returns utils.ReconfigurableRateLimiter.
RatedDebug print logs at debug level it limit log print to avoid too many logs return true if log successfully.
RatedInfo print logs at info level it limit log print to avoid too many logs return true if log successfully.
RatedWarn print logs at warn level it limit log print to avoid too many logs return true if log successfully.
ReplaceGlobals replaces the global Logger and SugaredLogger.
S returns the global SugaredLogger, which can be reconfigured with ReplaceGlobals.
SetLevel alters the logging level.
ShortCallerEncoder serializes a caller in file:line format.
No description provided by the author
Sync flushes any buffered log entries.
No description provided by the author
No description provided by the author
Warn logs a message at WarnLevel.
With creates a child logger and adds structured context to it.
No description provided by the author
# Constants
No description provided by the author
# Variables
Get retrieves a buffer from the pool, creating one if necessary.
# Structs
Config serializes log related config in toml/json.
FileLogConfig serializes file log related config in toml/json.
ZapProperties records some information about zap.