Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *zap.Logger
Logger is the package-level logger instance. It is initialized automatically via init() with sensible defaults. Call InitLogger() to re-initialize with custom settings, or use zap.L() anywhere (since ReplaceGlobals is called).
Functions ¶
func SyncLogger ¶
func SyncLogger()
SyncLogger flushes any buffered log entries. Call this on application exit via defer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.