Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrJSONTransform = errors.New("error while transform to json")
)
Functions ¶
func AppendNewLine ¶
func SafeWriteToBuffer ¶
func StripColor ¶
Types ¶
type TransformFunc ¶
func ToJSONLogFormat ¶
func ToJSONLogFormat(level, action string) TransformFunc
Click to show internal directories.
Click to hide internal directories.