A PowerShell module for logging messages to the PowerShell host or to PowerShell streams, and optionally to a log file.
Most recent build status | |
Master branch build status |
See the Quick Start wiki page.
The Pslogg module exports four functions:
-
Write-LogMessage: Writes log messages to the PowerShell host or to a PowerShell stream, and optionally to a log file;
-
Get-LogConfiguration: Retrieves a hash table which is a copy of the current configuration settings of the Pslogg module;
-
Set-LogConfiguration: Sets one or more configuration settings. Use this function to set up the Pslogg module prior to writing any log messages;
-
Reset-LogConfiguration: Resets the configuration back to its default settings.
See the wiki pages for more information.