Logrus - Structured, pluggable logging for Go.

  •        68

Logrus is a structured logger for Go (golang), completely API compatible with the standard library logger. There is a support to add hooks for logging levels. For example to send errors to an exception tracking service on Error, Fatal and Panic, info to StatsD or log to multiple places simultaneously, e.g. syslog.

https://github.com/sirupsen/logrus

Tags
Implementation
License
Platform

   




Related Projects

log - Structured logging package for Go.


Package log implements a simple structured logging API inspired by Logrus, designed with centralization in mind. Read more on Medium.

logxi - A 12-factor app logger built for performance and happy development


log XI is a structured 12-factor app logger built for speed and happy development.A logger should be efficient and minimize performance tax. logxi encodes JSON 2X faster than logrus and log15 with primitive types. When diagnosing a problem in production, troubleshooting often means enabling small trace data in Debug and Info statements for some period of time.

Algernon - Pure Go web server with built-in Lua, Markdown, HyperApp and Pongo2 support


Web server with built-in support for HTTP/2, Lua, Markdown, Pongo2, HyperApp, Amber, Sass(SCSS), GCSS, JSX, BoltDB, Redis, PostgreSQL, MariaDB/MySQL, rate limiting, graceful shutdown, plugins, users and permissions. Uses no external libraries, only pure Go.

zerolog - Zero Allocation JSON Logger


The zerolog package provides a fast and simple logger dedicated to JSON output.Zerolog's API is designed to provide both a great developer experience and stunning performance. Its unique chaining API allows zerolog to write JSON log events by avoiding allocations and reflection.

log15 - Structured, composable logging for Go


Package log15 provides an opinionated, simple toolkit for best-practice logging in Go (golang) that is both human and machine readable. It is modeled after the Go standard library's io and net/http packages and is an alternative to the standard library's log package.The API of the master branch of log15 should always be considered unstable. If you want to rely on a stable API, you must vendor the library.



seelog - Seelog is a native Go logging library that provides flexible asynchronous dispatching, filtering, and formatting


Seelog is a powerful and easy-to-learn logging framework that provides functionality for flexible dispatching, filtering, and formatting log messages. It is natively written in the Go programming language.

zap - Blazing fast, structured, leveled logging in Go.


Blazing fast, structured, leveled logging in Go.Note that zap only supports the two most recent minor versions of Go.

tinylog - tinylog is a lightweight logging framework for Java and Android.


tinylog is a lightweight open-source logging framework for Java and Android, optimized for ease of use. The logger of tinylog is static, so it isn't necessary to create an instance of the logger before logging. By default all log entries of the level info or higher are written to the console.

Logtron - A logging machine for NodeJS


Logtron is a realtime logging library for NodeJS. Logger takes a set of meta information for the logger, that will be used by each backend to customize the log formatting and a set of backends that you want to be able to write to.Logger returns a logger object that has some method names in common with console.

lumberjack - lumberjack is a rolling logger for Go


Package lumberjack provides a rolling logger.The package name remains simply lumberjack, and the code resides at https://github.com/natefinch/lumberjack under the v2.0 branch.

Timber - A logger with a small, extensible API which provides utility on top of Android's normal Log class


This is a logger with a small, extensible API which provides utility on top of Android's normal Log class.I copy this class into all the little apps I make. I'm tired of doing it. Now it's a library.

go-spew - Implements a deep pretty printer for Go data structures to aid in debugging


Go-spew implements a deep pretty printer for Go data structures to aid in debugging. A comprehensive suite of tests with 100% test coverage is provided to ensure proper functionality. See test_coverage.txt for the gocov coverage report. Go-spew is licensed under the liberal ISC license, so it may be used in open source or commercial projects.If you're interested in reading about how this package came to life and some of the challenges involved in providing a deep pretty printer, there is a blog post about it here.

tail - Go package for reading from continously updated files (tail -f)


A Go package striving to emulate the features of the BSD tail program.See API documentation.

analog - PHP logging library that is highly extendable and simple to use.


A PHP logging package based on the idea of using closures for configurability and extensibility. It functions as a static class, but you can completely control the writing of log messages through a closure function (aka anonymous functions), or use the Analog\Logger wrapper that implements the PSR-3 specification. By default, this class will write to a file named sys_get_temp_dir() . '/analog.txt' using the format "machine - date - level - message\n", making it usable with no customization necessary.

lumberjack - A simple, powerful, and very fast logging utility that can be a drop in replacement for Logger or ActiveSupport::BufferedLogger


Lumberjack is a simple, powerful, and fast logging implementation in Ruby. It uses nearly the same API as the Logger class in the Ruby standard library and as ActiveSupport::BufferedLogger in Rails. This code aims to be extremely simple to use. The core interface it the Lumberjack::Logger which is used to log messages (which can be any object) with a specified Severity. Each logger has a level associated with it and messages are only written if their severity is greater than or equal to the level.

AgileDesign Utilities Library


This library provides common functionality usable for most software projects: Logger - Asynchronous logging wrapper on top of new Microsoft logging class TraceSource with simplified API NameOf - Avoid using string names using static reflection Left(), Right() and No...

serilog - Simple .NET logging with fully-structured events


Serilog is a diagnostic logging library for .NET applications. It is easy to set up, has a clean API, and runs on all recent .NET platforms. While it's useful even in the simplest applications, Serilog's support for structured logging shines when instrumenting complex, distributed, and asynchronous applications and systems.Like many other libraries for .NET, Serilog provides diagnostic logging to files, the console, and many other outputs.

Logger Library


Logging library to ease all your logging needs. Can log to CSV/TSV files or database table. Contain both static and dynamic classes.

NLog - Advanced .NET Logging


NLog is a logging platform for .NET with rich log routing and management capabilities. It uses familar logger pattern known from log4xxx. NLog is very easy to use and configure. Advanced routing options include buffering, asynchronous logging, load balancing, failover, and more.