Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogger ¶ added in v0.1.4
GetLogger returns an hc logger with the provided name and creates or updates an existing logger using args args[0] = Level args[1] = Output args[2] = JSONFormat
func Logger ¶ added in v0.1.4
Logger returns the active logger for use in statements such as Logger().Info("")
func SetLogWriter ¶ added in v0.1.4
SetLogWriter sets the log package to use the provided writer If the logWriter was not created using this package, Logger() will return nil until UseLogger is run
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.