Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Zerolog ¶
type Zerolog struct {
// contains filtered or unexported fields
}
func NewZerlog ¶
func NewZerlog(options ...ZerologOption) *Zerolog
NewZerlog initializes a console logger. Additional options can be passed to the logger by specifying an option function.
func NewZerologWithWriter ¶
func NewZerologWithWriter(writer io.Writer, options ...ZerologOption) *Zerolog
NewZerologWithWriter initializes a logger with a writer. Additional options can be passed to the logger by specifying an option function.
type ZerologOption ¶
Click to show internal directories.
Click to hide internal directories.