Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTiDBEncoder ¶
func NewTiDBEncoder(cfg zapcore.EncoderConfig) *tidbEncoder
func RunRootCommand ¶
Types ¶
type AtomicWriteSyncer ¶
AtomicWriteSyncer is a WriteSyncer that can be updated online.
func BuildLogger ¶
func BuildLogger(cfg *config.Log) (*zap.Logger, *AtomicWriteSyncer, zap.AtomicLevel, error)
func (*AtomicWriteSyncer) Rebuild ¶
func (ws *AtomicWriteSyncer) Rebuild(cfg *config.LogOnline) error
Rebuild creates a new output and replaces the current one.
func (*AtomicWriteSyncer) Sync ¶
func (ws *AtomicWriteSyncer) Sync() error
Sync implements WriteSyncer.Sync().
Click to show internal directories.
Click to hide internal directories.