Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NativeLogBuilder ¶
type NativeLogBuilder interface {
logInt.Builder
// SetWriter set where output should be printed
SetWriter(writer io.Writer) NativeLogBuilder
// ExcludeTime configures standard Logger to exclude any time field
ExcludeTime() NativeLogBuilder
// IncludeCaller adds caller:line to the output
IncludeCaller() NativeLogBuilder
}
NativeLogBuilder is a helper interface to configure native log.Logger instance.
func Builder ¶
func Builder() NativeLogBuilder
Builder creates a fresh default Logger builder, this will eventually build a std logger wrapper without structured logging
Click to show internal directories.
Click to hide internal directories.