internal

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBaseEncoder

func NewBaseEncoder(format, timeLayout string) zapcore.Encoder

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

func ValidateTimeLayout(layout string) error

ValidateTimeLayout validates the time layout string. It returns an error if the layout string is invalid.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL