internal

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 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())

SetupAutoSync sets up automatic synchronization of logs.

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