Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogFormatJSON = "json" LogFormatConsole = "console" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.1.0
func WithInitialFields ¶ added in v0.2.41
WithInitialFields allows the logger to be configured with static fields at creation time. This is useful for setting fields that are constant across all log messages.
func WithLogFormat ¶ added in v0.1.0
func WithLogLevel ¶ added in v0.1.0
func WithOutputPaths ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.