logger

package module
v0.0.0-...-05bcaa6 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(lvl zapcore.Level, msg string) *zapcore.CheckedEntry

func Core

func Core() zapcore.Core

func CtxDPanic

func CtxDPanic(ctx context.Context, msg string, fields ...zap.Field)

func CtxError

func CtxError(ctx context.Context, msg string, fields ...zap.Field)

func CtxFatal

func CtxFatal(ctx context.Context, msg string, fields ...zap.Field)

func CtxInfo

func CtxInfo(ctx context.Context, msg string, fields ...zap.Field)

func CtxNamed

func CtxNamed(ctx context.Context, name string) context.Context

func CtxPanic

func CtxPanic(ctx context.Context, msg string, fields ...zap.Field)

func CtxWarn

func CtxWarn(ctx context.Context, msg string, fields ...zap.Field)

func CtxWith

func CtxWith(ctx context.Context, fields ...zap.Field) context.Context

func DPanic

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

func Debug

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

func DebugCtx

func DebugCtx(ctx context.Context, msg string, fields ...zap.Field)

func Error

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

func Fatal

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

func GetLogger

func GetLogger() *zap.Logger

func Info

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

func Named

func Named(s string) *zap.Logger

func Panic

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

func SetOptions

func SetOptions(opts ...zap.Option)

func Sync

func Sync() error

func Warn

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

func With

func With(ctx context.Context, fields ...zap.Field) *zap.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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