Documentation ¶
Overview ¶
Package logger implements async log web api messages
Index ¶
- func Error(message string)
- func Errorf(format string, a ...interface{})
- func Info(message string)
- func Infof(format string, a ...interface{})
- func Initialize()
- func Perf(message string)
- type Logger
- func (l *Logger) Critical(log string, message string)
- func (l *Logger) Debug(log string, message string)
- func (l *Logger) Error(message string)
- func (l *Logger) Handle()
- func (l *Logger) Info(message string)
- func (l *Logger) Log(log string, lvl l4g.Level, message string)
- func (l *Logger) Perf(message string)
- func (l *Logger) Warning(log string, message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(message string)
Error is a short cut function that uses package initialized logger and error log
func Info ¶
func Info(message string)
Info is a short cut function that uses package initialized logger
func Initialize ¶
func Initialize()
Initialialize sets up package var Log for use in Info(), Error(), and Perf()
Types ¶
Click to show internal directories.
Click to hide internal directories.