Documentation ¶
Index ¶
- Constants
- Variables
- func Debug(msg string, a ...interface{})
- func Error(msg string, a ...interface{})
- func Fatal(msg string, a ...interface{})
- func Info(msg string, a ...interface{})
- func Level(level int, msg string, a ...interface{})
- func Print(msg string, a ...interface{})
- func SetLevel(l int)
- func Success(msg string, a ...interface{})
- func Trace(msg string, a ...interface{})
- func Use(a ...interface{})
- func Warn(msg string, a ...interface{})
- type TimeMeasure
Constants ¶
View Source
const ( TraceLevel = 600 // 500 - 599 DebugLevel = 500 // 400 - 499 InfoLevel = 400 // 300 - 399 WarnLevel = 300 // 200 - 299 ErrorLevel = 200 // 100 - 199 FatalLevel = 100 // 0 - 99 Everything = 700 )
Variables ¶
View Source
var LoggingLevel int = InfoLevel
Functions ¶
Types ¶
type TimeMeasure ¶ added in v0.1.4
type TimeMeasure struct {
// contains filtered or unexported fields
}
TimeMeasure GoPython
func Measure ¶ added in v0.1.4
func Measure() *TimeMeasure
func (*TimeMeasure) GetMilliseconds ¶ added in v0.1.4
func (t *TimeMeasure) GetMilliseconds() int64
GetMilliseconds GetMilliseconds
Click to show internal directories.
Click to hide internal directories.