Documentation ¶
Index ¶
- func Debug(level int, message string)
- func Error(message string)
- func Event(evttype string, attributes ...string)
- func Info(log string, message string)
- func Initialize(name string)
- func Perf(message string)
- type Logger
- func (l *Logger) Critical(log string, message string)
- func (l *Logger) Debug(level int, message string)
- func (l *Logger) Error(message string)
- func (l *Logger) Event(evttype string, attributes []string)
- func (l *Logger) Handle()
- func (l *Logger) Info(log string, 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 Initialize ¶
func Initialize(name string)
Initialialize sets up package var Log for use in Info(), Error(), and Perf()
Types ¶
Click to show internal directories.
Click to hide internal directories.