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
  1. Concepts and basics
  2. Formatting

Special properties

PreviousOutput templatesNextFormat specifiers

Last updated 6 years ago

Here's the list of all special properties supported by :

  • Timestamp — emits log event timestamp. Supports .

    • Example output: 2019-03-11 19:21:52,755

  • Level — emits log event level. Supports a number of special .

    • Example output: INFO

  • Message — emits rendered log event message ( with substituted placeholders).

    • Example output: Hello, world!

  • Exception — prints event's exception along with its stack trace and inner exceptions.

  • NewLine — emits a platform-dependent newline.

  • Uptime — emits the number of milliseconds elapsed since application start. Supports .

  • Properties — emits all properties not mentioned elsewhere in the output template as a JSON object.

    • Example output: { "prop1": "value1", "prop2" : "value2" }

output templates
format specifiers
format specifiers
template
format specifiers