logger

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithLogger added in v1.4.0

func WithLogger(l Logger)

WithLogger sets the standard logger

Types

type Logger

type Logger func(...interface{})

Logger defines the interface for logging.

var DefaultLogger Logger = func(args ...interface{}) {}

DefaultLogger is a no-op logger function that does nothing

func GetLogger added in v1.4.0

func GetLogger() Logger

GetLogger gets the standard logger

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳