fdfb2bc4c1
* logger first * log->logger * update comment * add context in Options * add Fields * remove logfi * add field encode * add common Field Types * update logger field
14 lines
142 B
Go
14 lines
142 B
Go
package logger
|
|
|
|
type Level int8
|
|
|
|
const (
|
|
TraceLevel Level = iota - 1
|
|
DebugLevel
|
|
InfoLevel
|
|
WarnLevel
|
|
ErrorLevel
|
|
PanicLevel
|
|
FatalLevel
|
|
)
|