mlog

package
Version: v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Overview

logger for the whole dispatcher package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func L added in v0.24.0

func L() *zap.Logger

func Level added in v0.24.0

func Level() zap.AtomicLevel

func NewPluginLogger

func NewPluginLogger(tag string) *zap.Logger

func S added in v0.24.0

func S() *zap.SugaredLogger

Types

type AtomicWriteSyncer added in v0.24.0

type AtomicWriteSyncer struct {
	// contains filtered or unexported fields
}

func NewAtomicWriteSyncer added in v0.24.0

func NewAtomicWriteSyncer(ws zapcore.WriteSyncer) *AtomicWriteSyncer

func Writer added in v0.24.0

func Writer() *AtomicWriteSyncer

func (*AtomicWriteSyncer) Replace added in v0.24.0

func (a *AtomicWriteSyncer) Replace(ws zapcore.WriteSyncer)

func (*AtomicWriteSyncer) Sync added in v0.24.0

func (a *AtomicWriteSyncer) Sync() error

func (*AtomicWriteSyncer) Write added in v0.24.0

func (a *AtomicWriteSyncer) Write(p []byte) (n int, err error)

Source Files

Jump to

Keyboard shortcuts

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