Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simplyyan/lagra

A super-fast, lightweight logger with zero allocation to the Go language.
https://github.com/simplyyan/lagra

fmt framework go go-framework go-lib go-module go-package golang golang-library lib library log logger logger-middleware logging logging-framework logging-library logs

Last synced: 20 days ago
JSON representation

A super-fast, lightweight logger with zero allocation to the Go language.

Awesome Lists containing this project

README

        

= LAGRA: A Go Logging Library

image::lagra.png[LAGRA Logo]

== Description

LAGRA is a Go logging library designed to be easy, efficient, fast, and lightweight with zero allocations. It offers advanced logging customization options and serves as an alternative to Zerolog and Logrus.

=== LAGRA is 8 times faster than "fmt" and 2.28 times faster than "Zerolog". Test done via "testing", link:https://github.com/simplyYan/LAGRA/blob/main/benchmark.redhat[click here]. Test carried out on 17/10/2023.

== Installation

To get started with LAGRA, you can add it to your Go project using `go get`:

[source,shell]
----
go get -u github.com/simplyYan/LAGRA
----

== Documentation

To read the documentation, go to https://github.com/simplyYan/LAGRA/wiki/Documentation

== Features and Advantages

LAGRA offers several features and advantages that make it a solid choice for your Go logging needs:

1. *Easy to Use*: LAGRA is designed for simplicity. You can start logging with just a few lines of code.

2. *Efficiency and Zero Allocation*: LAGRA is resource-efficient and minimizes memory allocations, ensuring high performance.

3. *Log Levels*: It supports different log levels (debug, info, warning, error) so you can control the granularity of recorded messages.

4. *Customization*: You can customize the log message output format to suit different contexts and project requirements.

5. *Log Destinations*: In addition to printing logs to the console, LAGRA allows you to direct logs to different destinations, such as files, network outputs, or even third-party systems.

6. *Simple Configuration*: LAGRA's configuration is straightforward and human-readable, making log customization easy.

7. *Extensive Documentation*: The library comes with comprehensive documentation and usage examples to help you make the most of its features.

8. *Open Source License*: LAGRA is distributed under the MIT license, allowing you to use it in both commercial and open-source projects without restrictions.

9. *Active Community*: The Go developer community is active and ready to provide support and contributions to LAGRA.

LAGRA is a solid choice for those seeking an efficient, user-friendly, and highly customizable logging solution in Go.

> By Wesley Yan Soares Brehmer, CEO/Founder of SwankyNoob