logger

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Logger *zap.Logger
)

Functions

func Error

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

Error logs an error message

func Info

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

Info logs an informational message

func Init

func Init() error

Init initializes the logger

func Sync

func Sync()

Sync flushes any buffered log entries

Types

This section is empty.

Jump to

Keyboard shortcuts

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