package
Version:
v0.0.0-...-c83d288
Opens a new window with list of versions in this module.
Published: Jun 11, 2018
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 25
Opens a new window with list of known importers.
Documentation
¶
Package log provides a normalized interface for logging.
View Source
const (
OutputStdout outputType = iota
OutputStderr
OutputNull
)
type Config struct {
Level string `toml:"level"`
OutputType outputType `toml:"output_type"`
}
Config contains information on how to configure a logger.
Logger is the standard interface services should make use of.
New creates and configures a new Logger using the given Config.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.