package
module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Dec 7, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-logging-utils (glu)
Overview
A tiny package for Go developers who want prettier logs integrated into their code.
Installation
In your terminal, run:
go get github.com/M4elstr0m/go-logging-utils
Usage
Please refer to the docstrings within the code for now 😉
Credits
M4elstr0m
Documentation
¶
Fatal in red format associated with the name of the function where it is called. For fatal errors
Usage:
log.Fatal(glu.Fatal()+"It does this")
Info in green format associated with the name of the function where it is called. For harmless informations
Usage:
log.Print(glu.Info()+"It does this")
Warning in yellow format associated with the name of the function where it is called. For non-fatal errors
Usage:
log.Print(glu.Warning()+"It does this")
Source Files
¶
Click to show internal directories.
Click to hide internal directories.