package
Version:
v0.0.0-...-60f7902
Opens a new window with list of versions in this module.
Published: Feb 7, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CLI struct {
NoUseColors bool
}
CLI is a formatter for outputting CLI logs
NewCLI returns a new CLI based formatter
Format formats the log event data into bytes
Formatter type format raw logging data into something useful
JSON is a formatter for outputting json logs
Format formats the log event data into bytes
LogEvent is the respresentation of a single event to be logged.
Tee formatter can be used to write the event to a writer while also use the existing formatter and output
NewTee returns a new TeeWriter with default JSON messages
Format saves the event and forwards the event to the internal Wrapper
Source Files
¶
Click to show internal directories.
Click to hide internal directories.