serilog - Simple .NET logging with fully-structured events

  •        471

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

  •    CSharp

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.

common-logging - A portable logging abstraction for .NET

  •    CSharp

*Note: Build may periodically fail due to issues with the code-coverage tooling (NCover) being unable to reliably connect to the test-runner during test-runs on the CI server platform we've selected (Appveyor). Work continues to investigate this further, but until resolved properly visitors are advised to discount failing builds reported here. Provides a simple logging abstraction to switch between different logging implementations. There is current support for log4net, NLog, Microsoft Enterprise Library logging, Microsoft Application Insights, Microsoft Event Tracing for Windows, and Serilog.

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

  •    Java

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

  •    Ruby

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.

  •    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

  •    Go

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

  •    Javascript

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.

  •    Go

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

Cabin - Best JavaScript and Node.js logging service and logging

  •    Javascript

Cabin is the best JavaScript and Node.js logging service and logging npm package. It is a drop-in replacement and the best alternative to Sentry, Timber, Airbrake, Papertrail, Loggly, Bugsnag. It will automatically detect and mask Social Security Numbers, 1600+ Sensitive Field Names, Passwords, Salts, and Hashes, Bank Account Numbers and Bank Routing Numbers, Credit Card Numbers.

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

  •    PHP

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.

log - Structured logging package for Go.

  •    Go

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

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

  •    Ruby

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

  •    Ruby

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.

go-logging - Golang logging library

  •    Go

Package logging implements a logging infrastructure for Go. Its output format is customizable and supports different logging backends like syslog, file and memory. Multiple backends can be utilized with different log levels per backend and logger. NOTE: backwards compatibility promise have been dropped for master. Please vendor this package or use gopkg.in/op/go-logging.v1 for previous version. See changelog for details.

log15 - Structured, composable logging for Go

  •    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

  •    Go

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.

plog - Portable, simple and extensible C++ logging library

  •    C++

Plog is a C++ logging library that is designed to be as simple, small and flexible as possible. It is created as an alternative to existing large libraries and provides some unique features as CSV log format and automatic 'this' pointer capture. To start using plog you need to make 3 simple steps.

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

  •    Javascript

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

  •    Ruby

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.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.