Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LogsHook = func(level common.LogLevel) {}
todo fix
Functions ¶
func CustomCallerEncoder ¶
func CustomCallerEncoder(caller zapcore.EntryCaller, enc zapcore.PrimitiveArrayEncoder)
CustomCallerEncoder ...
func CustomLevelEncoder ¶
func CustomLevelEncoder(l zapcore.Level, enc zapcore.PrimitiveArrayEncoder)
CustomLevelEncoder ...
func CustomNameEncoder ¶
func CustomNameEncoder(v string, enc zapcore.PrimitiveArrayEncoder)
TODO fix
Types ¶
type Color ¶
type Color uint8
Color represents a text color.
Click to show internal directories.
Click to hide internal directories.