package
Version:
v0.0.0-...-2eeca3e
Opens a new window with list of versions in this module.
Published: Mar 29, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
func Log(v ...interface{})
Log outputs a log message from the arguments
func Logf(f string, v ...interface{})
Logf outputs a formatted log message from the arguments
SetOutput updates the io.Writer for the package as well as any external
writers created by the package
Writer returns a new *external.Writer suitable for injection into
3rd-party logging packages.
Logger wraps a *log.Logger with some configuration and
convenience methods
NewLogger returns a *Logger
func (l *Logger) Log(v ...interface{})
Log outputs a log message from the arguments
Logf outputs a formatted log message from the arguments
Output writes the output for a logging event
SetOutput updates the embedded logger's output
Write implements io.Writer and allows the logger to be used as
an embedded log writer.
Writer returns a new *external.Writer suitable for injection into
3rd-party logging packages.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.