Documentation ¶
Index ¶
- Constants
- func DEBUG(v ...any)
- func DEBUGF(format string, v ...any)
- func ERROR(v ...any)
- func ERRORF(format string, v ...any)
- func INFO(v ...any)
- func INFOF(format string, v ...any)
- func OUT(v ...any)
- func SetLevel(level LogLevel)
- func WARN(v ...any)
- func WARNF(format string, v ...any)
- func Wait()
- type Log4u
- func (l *Log4u) DEBUG(v ...any)
- func (l *Log4u) DEBUGF(format string, v ...any)
- func (l *Log4u) ERROR(v ...any)
- func (l *Log4u) ERRORF(format string, v ...any)
- func (l *Log4u) INFO(v ...any)
- func (l *Log4u) INFOF(format string, v ...any)
- func (l *Log4u) OUT(v ...any)
- func (l *Log4u) WARN(v ...any)
- func (l *Log4u) WARNF(format string, v ...any)
- type LogLevel
- type Logger
Constants ¶
View Source
const ( Ldate = 1 << iota // the date in the local time zone: 2009-01-23 Ltime // the time in the local time zone: 01:23:23 Lmicroseconds // microsecond resolution: 01:23:23.123123. assumes Ltime. Llongfile // full file name and line number: /a/b/c/d.go:23 Lshortfile // final file name element and line number: d.go:23. overrides Llongfile LUTC // if Ldate or Ltime is set, use UTC rather than the local time zone Lmsgprefix // move the "prefix" from the beginning of the line to before the message LstdFlags = Ldate | Ltime // initial values for the standard logger )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.