package
Version:
v0.0.0-...-d8e0d35
Opens a new window with list of versions in this module.
Published: Mar 4, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
New returns new logger instance.
Debug prints debug message
Error prints error message
type Logger interface {
Debug(msg string, args ...any)
Error(err error)
}
NewNull returns new null logger instance which can be used in unit tests for example.
Debug prints debug message
Error prints error message
Source Files
¶
Click to show internal directories.
Click to hide internal directories.