logger

package
v0.0.0-...-358e57e Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(args ...any)

Error logs an error-level message

func Errorf

func Errorf(template string, args ...any)

Errorf logs a formatted error-level message

func Info

func Info(args ...any)

Info logs an info-level message

func Infof

func Infof(template string, args ...any)

Infof logs a formatted info-level message

func InitLogger

func InitLogger()

func Sync

func Sync() error

Sync flushes any buffered logs

func Warn

func Warn(args ...any)

Warn logs a warning-level message

func Warnf

func Warnf(template string, args ...any)

Warnf logs a formatted warning-level message

Types

This section is empty.

Jump to

Keyboard shortcuts

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