Documentation
¶
Index ¶
- Constants
- func Close()
- func LogDebug(name string, format string, args ...interface{})
- func LogError(name string, format string, args ...interface{})
- func LogInfo(name string, format string, args ...interface{})
- func LogWarning(name string, format string, args ...interface{})
- func Run()
- func SetDebugLevel(level Level)
- func SetLogPath(path string)
- type FileWriter
- type Level
- type LogRecord
- type LogWriter
Constants ¶
View Source
const LogBufferLength = 65535
Variables ¶
This section is empty.
Functions ¶
func LogWarning ¶
func SetDebugLevel ¶
func SetDebugLevel(level Level)
func SetLogPath ¶
func SetLogPath(path string)
Types ¶
type FileWriter ¶
type FileWriter struct {
// contains filtered or unexported fields
}
type LogRecord ¶
type LogWriter ¶
type LogWriter struct {
// contains filtered or unexported fields
}
func (*LogWriter) MakeLogTimePath ¶
func (this *LogWriter) MakeLogTimePath()
Click to show internal directories.
Click to hide internal directories.