Quickstart

Here's the simplest way to experience Vostok.Logging for the first time:

Install-Package Vostok.Logging.Console
Install-Package Vostok.Logging.Abstractions
  • Create a log instance and write your first message:

var consoleLog = new SynchronousConsoleLog();
consoleLog.Info("Hello, {Name}!", "%username%");

Well done! Next step is to learn about logging syntax, explore available modules and log implementations and get used to the notion of source context.