Documentation ¶
Overview ¶
Package logonce implements an io.Writer facade that only performs distinct writes. This can be used by log.Loggers as they're guaranteed to make a single Write method call for each message. This is useful for loggers that print useful information about unexpected conditions that aren't fatal in code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Stderr *log.Logger
A default logger similar to the default logger in the log package.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.