Documentation ¶
Index ¶
- Constants
- func CloseLogger(logger *Logger)
- type Log
- type Logger
- func (self *Logger) Debug(format string, v ...interface{})
- func (self *Logger) Error(format string, v ...interface{})
- func (self *Logger) Fatal(v ...interface{})
- func (self *Logger) Fatalf(format string, v ...interface{})
- func (self *Logger) Fatalln(v ...interface{})
- func (self *Logger) Flags() int
- func (self *Logger) Info(format string, v ...interface{})
- func (self *Logger) Output(calldepth int, s string) error
- func (self *Logger) Panic(v ...interface{})
- func (self *Logger) Panicf(format string, v ...interface{})
- func (self *Logger) Panicln(v ...interface{})
- func (self *Logger) Prefix() string
- func (self *Logger) Print(v ...interface{})
- func (self *Logger) Printf(format string, v ...interface{})
- func (self *Logger) Println(v ...interface{})
- func (self *Logger) SetFlags(flag int)
- func (self *Logger) SetPrefix(prefix string)
- func (self *Logger) Warn(format string, v ...interface{})
Constants ¶
View Source
const ( All = iota DEBUG INFO WARN ERROR FATAL )
Variables ¶
This section is empty.
Functions ¶
func CloseLogger ¶
func CloseLogger(logger *Logger)
Types ¶
Click to show internal directories.
Click to hide internal directories.