Documentation ¶
Index ¶
- func Debug(arg0 string, args ...interface{})
- func Error(arg0 string, args ...interface{}) error
- func Info(arg0 string, args ...interface{})
- func LogTo(target string, level_name string)
- func Warn(arg0 string, args ...interface{}) error
- type Logger
- type PrefixLogger
- func (pl *PrefixLogger) AddLogPrefix(prefix string)
- func (pl *PrefixLogger) ClearLogPrefixes()
- func (pl *PrefixLogger) Debug(arg0 string, args ...interface{})
- func (pl *PrefixLogger) Error(arg0 string, args ...interface{}) error
- func (pl *PrefixLogger) Info(arg0 string, args ...interface{})
- func (pl *PrefixLogger) Warn(arg0 string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { AddLogPrefix(string) ClearLogPrefixes() Debug(string, ...interface{}) Info(string, ...interface{}) Warn(string, ...interface{}) error Error(string, ...interface{}) error }
func NewPrefixLogger ¶
type PrefixLogger ¶
func (*PrefixLogger) AddLogPrefix ¶
func (pl *PrefixLogger) AddLogPrefix(prefix string)
func (*PrefixLogger) ClearLogPrefixes ¶
func (pl *PrefixLogger) ClearLogPrefixes()
func (*PrefixLogger) Debug ¶
func (pl *PrefixLogger) Debug(arg0 string, args ...interface{})
func (*PrefixLogger) Error ¶
func (pl *PrefixLogger) Error(arg0 string, args ...interface{}) error
func (*PrefixLogger) Info ¶
func (pl *PrefixLogger) Info(arg0 string, args ...interface{})
func (*PrefixLogger) Warn ¶
func (pl *PrefixLogger) Warn(arg0 string, args ...interface{}) error
Click to show internal directories.
Click to hide internal directories.