package
Version:
v1.0.9
Opens a new window with list of versions in this module.
Published: Apr 27, 2022
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
¶
func Debug(fmt string, args ...interface{})
Debug logs debug-level log message
func Error(fmt string, args ...interface{})
Error logs an erorr-level log message
func Info(fmt string, args ...interface{})
Info logs an info-level log message.
SetLogger assigns a logger to use
func Warning(fmt string, args ...interface{})
Warning logs a warning-level log message
type Logger interface {
Debug(fmt string, args ...interface{})
Info(fmt string, args ...interface{})
Warning(fmt string, args ...interface{})
Error(fmt string, args ...interface{})
}
Logger is a (very simple) leveled logger. Replace with your preferred implementation
Source Files
¶
Click to show internal directories.
Click to hide internal directories.