repositorypackage
1.0.6
Repository: https://github.com/axiomhq/logmanager.git
Documentation: pkg.go.dev
# README
Logmanager
Table of Contents
Introduction
Logmanager is yet another Go logging library.
Installation
Install using go get
go get github.com/axiomhq/logmanager
Install from source
git clone https://github.com/axiomhq/logmanager.git
cd logmanager
make
Usage
// Simple console logger
log2console := logmanager.GetLogger("foo.bar")
log2console.Info("hello world")
log2console.Warn("it's a trap")
// Prints:
// [09:15:54.24] info [email protected] main.go:10 hello world
// [09:15:54.24] warn [email protected] main.go:11 it's a trap
Contributing
Feel free to submit PRs or to fill issues. Every kind of help is appreciated.
Before committing, make
should run without any issues.
Kindly check our Contributing guide on how to propose bugfixes and improvements, and submitting pull requests to the project.
License
© Axiom, Inc., 2021
Distributed under MIT License (The MIT License
).
See LICENSE for more information.