Documentation
¶
Index ¶
- func DebugLogLn(msg string)
- func ErrorLn(err error)
- func ErrorLogLn(msg string)
- func EventLn(eventType api.EventType, data interface{}) error
- func InfoLogLn(msg string)
- func PrintLogLn(level api.LogLevel, msg string)
- func PrintLogs() bool
- func SetPrintLogs(printLogs bool)
- func WarningLogLn(msg string)
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugLogLn ¶
func DebugLogLn(msg string)
func ErrorLogLn ¶
func ErrorLogLn(msg string)
func PrintLogLn ¶
func PrintLogs ¶
func PrintLogs() bool
PrintLogs returns if print logs on standard output is enabled
func SetPrintLogs ¶
func SetPrintLogs(printLogs bool)
SetPrintLogs enables or disables print logs on standard output
func WarningLogLn ¶
func WarningLogLn(msg string)
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger the structure with the needed fields Print logs can be enabled.
func (*Logger) SetPrintLogs ¶
SetPrintLogs enables or disables print logs on standard output Default is false
Click to show internal directories.
Click to hide internal directories.