Documentation
¶
Index ¶
- Constants
- func Assert(v ...interface{})
- func AssertT(tag string, v ...interface{})
- func Debug(v ...interface{})
- func DebugT(tag string, v ...interface{})
- func Error(v ...interface{})
- func ErrorT(tag string, v ...interface{})
- func Info(v ...interface{})
- func InfoT(tag string, v ...interface{})
- func SetLogLevel(level int)
- func Verbose(v ...interface{})
- func VerboseT(tag string, v ...interface{})
- func Warn(v ...interface{})
- func WarnT(tag string, v ...interface{})
- type Logger
- func (p *Logger) Assert(v ...interface{})
- func (p *Logger) AssertT(tag string, v ...interface{})
- func (p *Logger) Debug(v ...interface{})
- func (p *Logger) DebugT(tag string, v ...interface{})
- func (p *Logger) Error(v ...interface{})
- func (p *Logger) ErrorT(tag string, v ...interface{})
- func (p *Logger) Info(v ...interface{})
- func (p *Logger) InfoT(tag string, v ...interface{})
- func (p *Logger) OutPutStd(level int, tag string, v ...interface{})
- func (p *Logger) SetCallDepth(d int)
- func (p *Logger) SetLogLevel(level int)
- func (p *Logger) SetTag(tag string)
- func (p *Logger) Verbose(v ...interface{})
- func (p *Logger) VerboseT(tag string, v ...interface{})
- func (p *Logger) Warn(v ...interface{})
- func (p *Logger) WarnT(tag string, v ...interface{})
Constants ¶
View Source
const ( LVerbose = iota + 1 LDebug LInfo LWarn LError LAssert )
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevel(level int)
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) SetCallDepth ¶
func (*Logger) SetLogLevel ¶
Click to show internal directories.
Click to hide internal directories.