Quickstart
Here's the simplest way to experience Vostok.Logging for the first time:
1
Install-Package Vostok.Logging.Console
2
Install-Package Vostok.Logging.Abstractions
Copied!
  • Create a log instance and write your first message:
1
var consoleLog = new SynchronousConsoleLog();
2
3
consoleLog.Info("Hello, {Name}!", "%username%");
Copied!
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.
Last modified 2yr ago
Copy link