Documentation ¶
Index ¶
- func BasicErrorAdapter(command entities.Command, entity *entities.Error) error
- func BasicLoggerAdapter(command entities.Command, entity *entities.LogMessage) error
- func CheckNil(adapter adapters.AdapterMap)
- func JsonAdapter(command entities.Command, entity entities.Entity) error
- func ParseError(c entities.Command, a entities.AnalysisName, e error) (entities.Command, *entities.Error)
- func ParseInfo(c entities.Command, a entities.AnalysisName, m string, args ...interface{}) (entities.Command, *entities.LogMessage)
- func ParseWarning(c entities.Command, a entities.AnalysisName, m string, args ...interface{}) (entities.Command, *entities.LogMessage)
- func PrettyConsoleAdapter(command entities.Command, entity entities.Entity) error
- func SetBasicLogger(out io.Writer, level entities.LogLevel, logTime bool)
- func SetColorLogger(out io.Writer, level entities.LogLevel, logTime bool)
- type BasicLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicErrorAdapter ¶
func BasicLoggerAdapter ¶
func BasicLoggerAdapter(command entities.Command, entity *entities.LogMessage) error
func CheckNil ¶
func CheckNil(adapter adapters.AdapterMap)
func ParseError ¶
func ParseInfo ¶
func ParseInfo(c entities.Command, a entities.AnalysisName, m string, args ...interface{}) (entities.Command, *entities.LogMessage)
func ParseWarning ¶
func ParseWarning(c entities.Command, a entities.AnalysisName, m string, args ...interface{}) (entities.Command, *entities.LogMessage)
func PrettyConsoleAdapter ¶
func SetBasicLogger ¶
SetLogger sets the logging level preference
Types ¶
Click to show internal directories.
Click to hide internal directories.