Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StandardLog ¶
StandardLog returns a log.Logger wrapper
Types ¶
type Config ¶
type Config struct { Level string `toml:"level" json:"level"` Output string `toml:"output" json:"output"` }
Config log config
type StandardLogWrite ¶
type StandardLogWrite struct {
// contains filtered or unexported fields
}
StandardLogWrite implements StandardLogWriterInterface
type StandardLogWriterInterface ¶
StandardLogWriterInterface is an interface to wrap log.Logger
Click to show internal directories.
Click to hide internal directories.