package
Version:
v0.0.0-...-342267f
Opens a new window with list of versions in this module.
Published: Mar 12, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Log provices a simple leveled logger
NewLogger returns a new logger (duh) with the given levels and output writers
func (l *Log) Debug(s ...interface{})
Debug logs debug-level logs if debug is true
func (l *Log) Debugf(f string, s ...interface{})
Debugf uses fmt.Fprint fprmatting
func (l *Log) Error(s ...interface{})
Error logs at the error level
func (l *Log) Errorf(f string, s ...interface{})
Errorf uses fmt.Fprint formatting
func (l *Log) Log(s ...interface{})
Log only logs if quiet is false
func (l *Log) Logf(f string, s ...interface{})
Logf uses fmt.Fprint fprmatting
Source Files
¶
Click to show internal directories.
Click to hide internal directories.