Documentation
¶
Index ¶
Constants ¶
View Source
const ( LoggerInfo uint = iota LoggerWrn LoggerErr )
View Source
const (
ErrCanNotCreateDirectory = "can't create directory"
)
Variables ¶
This section is empty.
Functions ¶
func GetDefaultStrategy ¶
GetDefaultStrategy console write strategy
func GetFileStrategy ¶
GetFileStrategy file write strategy
func LoggerName ¶
LoggerName returns a name for the logger. It returns the empty string if the code is unknown.
Types ¶
type DefaultStrategy ¶
type DefaultStrategy struct {
}
type FileStrategy ¶
type FileStrategy struct {
// contains filtered or unexported fields
}
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
func (*Log) ErrorDebug ¶
ErrorDebug method for recording errors with stack
Click to show internal directories.
Click to hide internal directories.