PowerShellLoggingModule
PowerShellLoggingModule copied to clipboard
Added an ApplicationInsights logger
This may be of interest. I wanted to use your logging framework (I need a logger that intercepts, not one that has to be called explicitly) but I wanted my logs sent to the Azure cloud. Azure have a logging and monitoring offering called "Application Insights". By following the same convention as you've already laid out you can "Enable-ApplicationInsights", provide an "InstrumentationKey" and have your logs sent off to the Azure cloud rather than to a file on disk.
Thanks.
p.s. it did require upgrading the .NET framework and adding a nuget reference to Microsoft.ApplicationInsights (MIT license).