Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscardLogger ¶
DiscardLogger returns a logger that writes to dev/null. Suitable for use in testing.
func InitJsonLogger ¶
InitJsonLogger creates and returns a logger suitable for logging JSON data. Bagman JSON logs consist of a single JSON object per line, with no extraneous data. Because all of the data in the file is pure JSON, with one record per line, these files are easy to parse.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.