Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBaseEncoder ¶
NewBaseEncoder creates a new encoder.
func SetupAutoSync ¶
func SetupAutoSync(syncFunc func() error)
SetupAutoSync sets up automatic synchronization of logs. It registers signal handlers to flush logs before the application terminates.
func ValidateTimeLayout ¶
ValidateTimeLayout validates the time layout string. It returns an error if the layout string is invalid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.