Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = log.New(os.Stdout, "[DEBUG] ", flags)
View Source
var Error = log.New(os.Stderr, "[ERROR] ", flags)
View Source
var Info = log.New(os.Stdout, "[INFO] ", flags)
Functions ¶
func CreateServiceLogger ¶ added in v2.4.0
func Initialize ¶
func Initialize(useFiles bool)
func MultiWriter ¶ added in v2.4.0
MultiWriter creates a writer that duplicates its writes to all the provided writers, similar to the Unix tee(1) command.
Each write is written to each listed writer, one at a time. If a listed writer returns an error, that overall write operation stops and returns the error; it does not continue down the list.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.