log

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: BSD-4-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KB = 1024
	MB = 1024 * KB

	DefaultBufferSize = 1
)

Variables

View Source
var (
	SEPARATOR = []byte("\r\n")
)

Functions

func Any

func Any(key string, value interface{}) zap.Field

func Debug

func Debug(msg string, fields ...zap.Field)

Debug ...

func Error

func Error(msg string, err error, fields ...zap.Field)

Error ...

func Fatal

func Fatal(msg string, err error, fields ...zap.Field)

Fatal ...

func Info

func Info(msg string, fields ...zap.Field)

Info ...

func Logger

func Logger() *zap.Logger

func ProductionModeWithoutStackTrace

func ProductionModeWithoutStackTrace()

func Warn

func Warn(msg string, fields ...zap.Field)

Warn ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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