Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoggerWithOutput ¶ added in v3.2.1
func NewLoggerWithOutput(json bool, output zapcore.WriteSyncer) *zap.Logger
NewLoggerWithOutput creates a new zap logger instance with a custom output json - if true logs are in json format output - the output writer (e.g., os.Stdout, os.Stderr)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.