serilog - Simple .NET logging with fully-structured events

  •        128

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.

https://serilog.net
https://github.com/serilog/serilog

Tags
Implementation
License
Platform

   




Related Projects

LibLog - LibLog is a single file for you to either copy/paste or install via nuget, into your library/framework/application to provide a logging abstraction


Designed specifically for library developers, LibLog is a single file for you to either copy/paste or install via nuget, into your library/framework/application to provide a logging abstraction. It also contains transparent built-in support for NLog, Log4Net, EntLib Logging, Serilog and Loupe, and allows your users to define a custom provider if necessary. Please see Wiki for more information.

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.

logstash-logger - Ruby logger that writes logstash events


LogStashLogger extends Ruby's Logger class to log directly to Logstash. It supports writing to various outputs in logstash JSON format. This is an improvement over writing to a file or syslog since Logstash can receive the structured data directly. You can use a URI to configure your logstash logger instead of a hash. This is useful in environments such as Heroku where you may want to read configuration values from the environment. The URI scheme is type://host:port/path?key=value. Some sample URI configurations are given below.

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.

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

log4r - Log4r is a comprehensive and flexible logging library for use in Ruby programs


Log4r is a comprehensive and flexible logging library written in Ruby for use in Ruby programs. It features a hierarchical logging system of any number of levels, custom level names, logger inheritance, multiple output destinations per log event, execution tracing, custom formatting, thread safteyness, XML and YAML configuration, and more. Log4r works really well, so please take advantage of it right away! :) All versions since 0.9.2 have been stable and backward-compatible. The code is stable enough that updates are infrequent and usually only for adding features or keeping the code up to date with Ruby.

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 http://rubyforge.net/projects/log4r 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.