Documentation ¶
Overview ¶
Package logutils contains an initializer to configure zap.
Index ¶
- func Configure(level string, format string) zap.Config
- func ConfigureWithName(serviceName string, level string, format string) zap.Config
- func ConfigureWithOptions(level string, format string, file string, fileOnly bool, prettyTimestamp bool) zap.Config
- func SetOutput(w zapcore.WriteSyncer, conf zap.Config) zap.Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureWithName ¶
ConfigureWithName configures the shared default logger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.