Documentation
¶
Index ¶
- Constants
- Variables
- func Clog(condition bool, msg string, a ...interface{})
- func Debug(msg string, a ...interface{})
- func Dirty(msg string, a ...interface{})
- func Error(msg string, a ...interface{})
- func Fatal(msg string, a ...interface{})
- func Here(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 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 ¶
func Dirty ¶ added in v0.23.3
func Dirty(msg string, a ...interface{})
Dirty always prints everything including special characters, and does not add anything extra to the print.
func Here ¶ added in v0.23.9
func Here(msg string, a ...interface{})
Here is used for local logging only.
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
func (*TimeMeasure) GetMinutes ¶ added in v0.25.6
func (t *TimeMeasure) GetMinutes() float64
GetMilliseconds GetMilliseconds
func (*TimeMeasure) GetSeconds ¶ added in v0.25.6
func (t *TimeMeasure) GetSeconds() float64
GetMilliseconds GetMilliseconds
Click to show internal directories.
Click to hide internal directories.