package
Version:
v0.1.5-beta
Opens a new window with list of versions in this module.
Published: Oct 20, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CMD struct {
LoggerEnabled bool
LogBodyEnabled bool
}
CMD log to the stdout
AddSecret add secret to be scrubbed from logging
ClearSecrets clear secrets
LogHeader to log to stdout
func (l CMD) Writef(format string, a ...interface{})
Writef to stdout
type File struct {
Path string
}
File log to a file
Logger interface should be used to log to different locations
Source Files
¶
Click to show internal directories.
Click to hide internal directories.