Home
Vostok.Logging
Vostok.Logging is a set of libraries. Like other popular libraries (Serilog, Log4net etc.) it provides diagnostic logging to files, the console, and elsewhere.
Vostok.Logging is not a monolith. The library consists of parts: facade and implementations.
Peculiarities:
Efficient built-in implementations out of the box;
Logging is tightly integrated into the Vostok ecosystem. If you use the entire Vostok or multiple libraries, you don't need to worry about integration. Read more in the section integration with other Vostok libraries.
Features:
Structured logging In the Vostok.Logging as in Serilog logs are structured. You can render user-defined properties. Learn more about template syntax here.
Fully asynchronous Calling the
Log
method can't lock the app.Fast work *proof*
Integration with Serilog and Log4Net If you are already using Serilog or Log4net, create an adapter and you'll get the Vostok facade from the available log.
Libraries
Library
Description
This library is for a log which outputs events to console. Supports color-marked messages, uses lock-free queue for asynchronous message writing.
This library is for a log which outputs events to file. Supports rolling-strategies for logs rotation, uses lock-free queue for asynchronous message writing, easy to configure from code and other sources.
Automatically embeds contextual information in the log message.
This library responsible for rendering messages and log events to text. Used in any standalone text-based log implementation.
Represents an adapter between Vostok logging interfaces and log4net.
Represents an adapter between Vostok logging interfaces and Serilog.
This library is for a log which outputs events to Hercules.
Last updated