package
Version:
v0.0.0-...-0356a80
Opens a new window with list of versions in this module.
Published: Sep 12, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Debug(event, message string)
Debug writes a debug message to the underlying logger
Error writes a error message to the underlying logger
func Info(event, message string)
Info writes a info message to the underlying logger
func Warn(event, message string)
Warn writes a warn message to the underlying logger
type ILogger interface {
Load()
}
ILogger interface the logger
type Logger struct {
Config string
}
Logger is the implementation of the logger
NewLogger creates an instance of the Logger
Load loads the logger based in the config
Source Files
¶
Click to show internal directories.
Click to hide internal directories.