serilog - Simple .NET logging with fully-structured events

  •        112

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.

Serilog uses message templates, a simple DSL that extends .NET format strings with named as well as positional parameters. Instead of formatting events immediately into text, Serilog captures the values associated with each named parameter.



Related Projects

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.

logging - A flexible logging library for use in Ruby programs based on the design of Java's log4j library

Logging is a flexible logging library for use in Ruby programs based on the design of Java's log4j library. It features a hierarchical logging system, custom level names, multiple output destinations per log event, custom formatting, and more. This example configures a logger to output messages in a format similar to the core ruby Logger class. Only log messages that are warnings or higher will be logged.

Logrus - Structured, pluggable logging for Go.

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.

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.

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.

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.

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.

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.

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.

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.

tracer - A powerful and customizable logging library for node.js

A powerful and customizable logging library for node.js. support color console with timestamp, line number, method name, file name and call stack. you can set transport to file, stream, database(ex: mongodb and clouddb, simpledb). keywords: log, logger, trace

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...

C# Logger

C# Logger This is a logging tool similar to log4j for java. The tool is designed to handle debugging, information and error logging. Currently only windows event logging is supported however multiple logging targets are planned for future releases.

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.

The LogNut logging library and facilities

LogNut is a comprehensive logging facility written in C#. It provides a simple way to write something from within your program, as it runs, that you can see.

Log4r - Logging system written in Ruby

This project has moved to Log4r is a flexible logging library for Ruby. With a heiarchial logging system of arbitrary levels and names, multiple output destinations, logger inheritance, custom formatting, etc.

WCF Database Message logger suite

The WCF Database message logger is a service and client behavior. Which'll log incoming and outgoing message to a database. The database format is inspired by Enterprise Logging but more tailermade just for message logging. The centralized feature is correlation between messages.

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.