applogger

package
v0.0.0-...-7de2586 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogrus

func GetLogrus() *logrus.Logger

Types

type ZapLogger

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

func GetZapLogger

func GetZapLogger() *ZapLogger

func (*ZapLogger) Error

func (z *ZapLogger) Error(ctx context.Context, err error, fields ...zap.Field)

func (*ZapLogger) Info

func (z *ZapLogger) Info(ctx context.Context, msg string, fields ...zap.Field)

Jump to

Keyboard shortcuts

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