Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Child ¶ added in v0.3.3
func Child(opts ...ChildOption) zerolog.Logger
func Init ¶ added in v0.3.3
func Init(opts ...InitOption) zerolog.Logger
Types ¶
type ChildOption ¶ added in v0.3.3
func WithLevel ¶ added in v0.3.3
func WithLevel(level string) ChildOption
func WithName ¶ added in v0.3.3
func WithName(name string) ChildOption
type InitOption ¶ added in v0.3.3
type InitOption func(*logger)
func WithConsole ¶ added in v0.3.3
func WithConsole() InitOption
func WithFile ¶ added in v0.3.3
func WithFile(filepath string) InitOption
func WithVerbosity ¶ added in v0.3.3
func WithVerbosity(verbosity int) InitOption
Click to show internal directories.
Click to hide internal directories.