zapetw

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrETWNotSupported = errors.New("ETW is not supported for Linux")

Functions

func AttachETWLogger

func AttachETWLogger(baseLogger *zap.Logger, _ string, _ zapcore.Level) (*zap.Logger, error)

func InitETWLogger

func InitETWLogger(_ string, _ zapcore.Level) (*zap.Logger, error)

Types

type ETWWriteSyncer

type ETWWriteSyncer struct{}

func NewETWWriteSyncer

func NewETWWriteSyncer(_ string, _ zapcore.Level) (*ETWWriteSyncer, error)

func (*ETWWriteSyncer) Write

func (e *ETWWriteSyncer) Write(_ []byte) (int, error)

Jump to

Keyboard shortcuts

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