Discover Packages
github.com/spaquet/gemtracker
internal
logger
package
Version:
v1.1.2
Opens a new window with list of versions in this module.
Published: Apr 7, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Close flushes and closes the log file if it was opened
func Error(format string , v ...interface{})
Error logs an error message
func Info(format string , v ...interface{})
Info logs an info message
Init initializes the logger. If verbose is false, uses io.Discard (zero overhead).
If verbose is true, opens ~/.cache/gemtracker/gemtracker.log for appending.
Returns error if log file cannot be opened.
func Warn(format string , v ...interface{})
Warn logs a warning message
Source Files
¶
Click to show internal directories.
Click to hide internal directories.