Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogHandler ¶
type LogHandler struct {
// contains filtered or unexported fields
}
func NewLogger ¶
func NewLogger(name string, debug bool) *LogHandler
NewLogger gets new logger logger
func (LogHandler) Error ¶
func (l LogHandler) Error(componentName string, err error, format string, args ...interface{})
Error logs an error log message
func (LogHandler) Fatal ¶
func (l LogHandler) Fatal(componentName string, err error, format string, args ...interface{})
Fatal logs a fatal error message
func (LogHandler) Info ¶
func (l LogHandler) Info(componentName string, format string, args ...interface{})
Info logs an info log message
Click to show internal directories.
Click to hide internal directories.