Cmdlets - PoShLog/PoShLog GitHub Wiki

Note: All cmdlets marked as EXTENSION must be installed separately! See each cmdlet documentation for more information.

Core cmdlets

  • New-Logger - Creates new logger configuraton
  • Start-Logger - Creates new instance of logger, that writes to configured sinks
  • Close-Logger - Resets Logger to the default and disposes the original if possible

LevelSwitch cmdlets

Sink cmdlets

Enrichment cmdlets

Write cmdlets

Formatters