package
module
Version:
v0.0.0-...-12ef1e0
Opens a new window with list of versions in this module.
Published: Dec 26, 2019
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
golog
golog: simple logger in Go
Documentation
¶
View Source
const (
DebugLevel = "debug"
InfoLevel = "info"
WarnLevel = "warn"
ErrorLevel = "error"
)
log level
func Debug(format string, a ...interface{})
Debug : output "debug" message
func Error(format string, a ...interface{})
Error : output "error" message
func Info(format string, a ...interface{})
Info : output "info" message
func Warn(format string, a ...interface{})
Warn : output "warn" message
Source Files
¶
Click to show internal directories.
Click to hide internal directories.