Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogicLoggerBuilder ¶ added in v0.0.2
func NewLogicLoggerBuilder() (lg *logicLogger)
NewLogicLoggerBuilder => Generate a LogicLogger. Require env $PROJECT_NAME $BP_LOG_TIME_FORMAT $BP_LOG_OUTPUT $BP_LOG_LEVEL
Types ¶
type FieldMap ¶
type FieldMap map[fieldKey]string
FieldMap allows customization of the key names for default fields.
type LogicLoggerFormatter ¶
type LogicLoggerFormatter struct {
// TimestampFormat sets the format used for marshaling timestamps.
TimestampFormat string
}
LogicLoggerFormatter formats logs into parsable json