logger

package
v0.2.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	// Debug logs a message at the debug level with optional key-value pairs.
	Debug(message string, keysAndValues ...any)

	// Warn logs a message at the warning level with optional key-value pairs.
	Warn(message string, keysAndValues ...any)

	// Info logs a message at the info level with optional key-value pairs.
	Info(message string, keysAndValues ...any)

	// Error logs a message at the error level with optional key-value pairs.
	Error(message string, keysAndValues ...any)
}

Logger defines the methods for logging at different levels.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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