Skip to main content

The Logging System

Synopsis

The logging system enables maximum flexibility when logging for minimal complexity to use. It supports logging in different formats to a variety of logging services. Its asynchronous nature prevents impact on code performance while being runspace-safe to use.

Key Features / Benefits

  • Log to file, eventlog, Azure Log Analytics, Splunk, Graylog or SQL with out-of-the-box-tools
  • Simple to use: Get started in less than 5 minutes
  • Extensible with custom logging logic
  • Configurable logging at script, process, user or machine level
  • Enable scripts to integrate into existing logging, without code-change
  • Runspace-Safe: Logging from multiple runspaces in parallel without conflict
  • Rich log data for both debugging and auditing
  • Automatic debug log

Core Concepts

Quick Start Guides

Logging To ...

A quick refence list on how to log to the built-in Logging Providers:

Basics

Logging Providers

The full reference documentation for each built-in Logging Provider

Conference Recordings

Advanced