Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultLevels = "PFEWID"
View Source
const DefaultLogFormat = "%s (%d) %c %v: %s"
View Source
const DefaultTimeFormat = "2006-01-02 15:04:05.000000"
Variables ¶
View Source
var Default = New()
View Source
var DefaultFormatter = NewFormatter(DefaultLogFormat, DefaultTimeFormat, DefaultLevels)
View Source
var ErrorStackTrace = false
Functions ¶
Types ¶
type Formatter ¶
type Formatter struct {
// contains filtered or unexported fields
}
func NewFormatter ¶
Click to show internal directories.
Click to hide internal directories.