elmah-io changelog
elmah-io changelog
elmah.io

Integration with PoShLog (PowerShell)

 

New

  

There's a new integration with PoShLog. For those of you who may not know PoShLog, it's a PowerShell logging module built on top of Serilog. The elmah.io sink for PoShLog brings easy logging to elmah.io from PowerShell using code like this:

Import-Module PoShLog
Import-Module PoShLog.Sinks.ElmahIo

New-Logger |
    Add-SinkElmahIo -ApiKey 'API_KEY' -LogId 'LOG_ID' |
    Start-Logger

Write-ErrorLog 'Say My Name'

The integration is available in the PowerShell Gallery and documented on Logging to elmah.io from PowerShell.