Documentation
¶
Index ¶
- Constants
- type Common
- func (output *Common) Debug(format string, v ...interface{})
- func (output *Common) Error(format string, v ...interface{})
- func (output *Common) Fatal(format string, v ...interface{})
- func (output *Common) Info(format string, v ...interface{})
- func (output *Common) Init(level int, normal, err io.Writer)
- func (output *Common) Warn(format string, v ...interface{})
- type Interface
- type ToNull
- func (output *ToNull) Debug(format string, v ...interface{})
- func (output *ToNull) Error(format string, v ...interface{})
- func (output *ToNull) Fatal(format string, v ...interface{})
- func (output *ToNull) Info(format string, v ...interface{})
- func (output *ToNull) Warn(format string, v ...interface{})
Constants ¶
View Source
const ( LevelDebug = iota LevelInfo LevelWarn LevelError LevelFatal FileInfoLeastLevel = LevelError )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶
type Common struct { Interface // contains filtered or unexported fields }
********************* Common
type Interface ¶
type Interface interface { Debug(format string, v ...interface{}) Info(format string, v ...interface{}) Warn(format string, v ...interface{}) Error(format string, v ...interface{}) Fatal(format string, v ...interface{}) }
********************* Interface
Click to show internal directories.
Click to hide internal directories.