logger

package
v0.0.0-...-7815854 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func NewContext

func NewContext(
	ctx context.Context,
	l *StandardLogger,
) context.Context

Types

type StandardLogger

type StandardLogger struct {
	*zap.Logger
}

func GetAppLogger

func GetAppLogger() *StandardLogger

func GetLogger

func GetLogger(ctx context.Context) *StandardLogger

func New

func New() *StandardLogger

func (*StandardLogger) Sync

func (l *StandardLogger) Sync()

func (*StandardLogger) WithFields

func (l *StandardLogger) WithFields(fields ...zapcore.Field) *StandardLogger

Jump to

Keyboard shortcuts

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