Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LogsHook = func(level common.LogLevel) {}
todo fix
Functions ¶
func CustomCallerEncoder ¶ added in v0.1.3
func CustomCallerEncoder(caller zapcore.EntryCaller, enc zapcore.PrimitiveArrayEncoder)
CustomCallerEncoder ...
func CustomLevelEncoder ¶ added in v0.1.3
func CustomLevelEncoder(l zapcore.Level, enc zapcore.PrimitiveArrayEncoder)
CustomLevelEncoder ...
func CustomNameEncoder ¶ added in v0.1.3
func CustomNameEncoder(v string, enc zapcore.PrimitiveArrayEncoder)
TODO fix
Types ¶
type Color ¶ added in v0.1.3
type Color uint8
Color represents a text color.
type Logging ¶ added in v0.1.3
type Logging struct {
// contains filtered or unexported fields
}
Logging ...
func (*Logging) SetDbSaver ¶ added in v0.5.3
SetDbSaver ...
func (*Logging) SetWsSaver ¶ added in v0.5.3
SetWsSaver ...
Click to show internal directories.
Click to hide internal directories.