Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶ added in v0.0.24
func Bootstrap()
Bootstrap configure global zerolog logger with a basic console logger to catch any messages that are logged before full Thelma initialization
func InitializeLogging ¶
InitializeLogging updates the global Zerolog logger to match Thelma's configuration. It should be called once during Thelma initialization.
func NewFilteredWriter ¶
func NewFilteredWriter(inner zerolog.LevelWriter, filterBelow zerolog.Level) zerolog.LevelWriter
Types ¶
type FilteredWriter ¶
type FilteredWriter struct {
// contains filtered or unexported fields
}
FilteredWriter drops log messages below a specified threshold
func (*FilteredWriter) WriteLevel ¶
Click to show internal directories.
Click to hide internal directories.