Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureZerolog ¶
func ConfigureZerolog(cfg *ZerologConfig)
func ForComponent ¶
Types ¶
type ZerologConfig ¶
type ZerologConfig struct { Level string `properties:"global_level,default=info"` Sampling bool `properties:"disable_sampling,default=false"` TimeField string `properties:"time_field,default=time"` TimeFormat string `properties:"time_format, default=2006-01-02 15:04:05.000"` LevelField string `properties:"level_field, default=level"` MsgField string `properties:"message_field, default=message"` ErrorField string `properties:"error_field, default=error"` }
Click to show internal directories.
Click to hide internal directories.