Documentation ¶
Index ¶
Constants ¶
View Source
const ( VerboseOff = 0 VerboseOn = 1 VerboseFull = 2 )
View Source
const Lshortfile = 1 << 10
log.Lshortfile doesn't work: it will always report the source file is mlog.go, because the log pavkage has the call depth hard-coded to 2. This will break if the log library ever decides to use bit 10 themselves.
Variables ¶
View Source
var Verbose int
Verbose controls whether or not anything is logged
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.