Discover Packages
github.com/hupe1980/golog
package
module
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jan 1, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 9
Opens a new window with list of known importers.
README
README
¶
golog
Simple golang logger interface for use in library development
License
MIT
Expand ▾
Collapse ▴
Documentation
¶
const (
CRITICAL Level = iota
ERROR
WARNING
INFO
DEBUG
)
LogLevel returns the log level from a string representation
String returns the string representation of the logging level
type Logger interface {
Print(level Level , v ...interface{})
Println(level Level , v ...interface{})
Printf(level Level , format string , v ...interface{})
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.