package
Version:
v0.0.0-...-36f5a7c
Opens a new window with list of versions in this module.
Published: Jun 23, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package logger provides a logging interface and an implementation for logging
informational messages, error messages, and warnings.
type Logger interface {
Info(args ...interface{})
Error(args ...interface{})
Warning(args ...interface{})
}
Logger is an interface that provides methods for logging informational messages,
error messages, and warnings.
NewLogger creates a new logger with the provided infoLogger, errorLogger, and warningLogger.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.