package
Version:
v0.0.0-...-b0b70ea
Opens a new window with list of versions in this module.
Published: Mar 14, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Level represents the severity level of a log entry.
const (
LevelInfo Level = iota
LevelError
LevelFatal
LevelOff
)
String translates the level numbers into a human-readable representation.
New returns a Logger that writes to the given destination. Its logs will have a severity level at or above the given value.
Write satisfies the io.Writer interface. Logs written with Write will always be at the ERROR level, and won't have any additional properties.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.