zcore

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBodyCore

func NewBodyCore(batch logskd.LogProcessor, enab zapcore.LevelEnabler, opts ...Option) zapcore.Core

NewBodyCore creates a Core that writes logs to a WriteSyncer.

func NewCore

NewCore creates a Core that writes logs to a WriteSyncer.

Types

type Option added in v2.3.0

type Option interface {
	// contains filtered or unexported methods
}

func WithMaxMessageSize added in v2.3.0

func WithMaxMessageSize(size int) Option

func WithSyncInterval added in v2.3.0

func WithSyncInterval(interval time.Duration) Option

Jump to

Keyboard shortcuts

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