Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Global log variable. L = log15.New() )
Functions ¶
func DefaultHandler ¶
DefaultHandler returns the current handler. It can be used to create additional logger instances that all use the same handler for output.
func New ¶
New creates a new instance of the logger using the current default handler for its output.
func SetDefaultHandler ¶
SetDefaultHandler sets the handler for the logger. It wraps handlers in a SyncHandler. You should not pass in handlers that are already wrapped in a SyncHandler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.