Vostok.Logging
HomeQuickstartModulesImplementations
1.0.0
1.0.0
  • Home
  • Quickstart
  • Guarantees
  • Configuration
  • Concepts and basics
    • Log interface
    • Log events
    • Syntax
      • Logging extensions
      • Message templates
      • Providing property values
    • Formatting
      • Output templates
      • Special properties
      • Format specifiers
    • Source context
    • Operation context
  • Modules
    • Abstractions
    • Configuration
    • Formatting
    • Console
    • File
    • Hercules
    • Context
    • Serilog
    • Log4net
    • NUnit
    • Microsoft
  • Implementations
    • Silent log
    • Console log
    • File log
    • Hercules log
  • Integrations
    • Serilog integration
    • Log4net integration
    • Microsoft logging integration
  • How-to guides
    • Using operation context
    • Using static log provider
    • Filtering events
    • Enriching events
    • Transforming events
    • Combining multiple logs
    • Custom output templates
    • External configuration rules
Powered by GitBook
On this page

Quickstart

PreviousHomeNextGuarantees

Last updated 5 years ago

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

  • Install and modules:

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 , explore available and log and get used to the notion of .

abstractions
syntax
modules
implementations
source context
console