A Good Logger For The PowerShell Environment.

Project Description

The PoshLogger Module contains everything needed to start using a unified Logging Infrastucture in your powershell Scripts. The Commands exported will hide your default:
Write-Host aliased to Write-Info,
Write-Debug,
Write-Error,
Write-Warning,
Write-Verbose,
Write-Log.

PoshLogger got started from a script by Joel Bennet he posted on poshcode.org that I downloaded. You can view his work here http://poshcode.org/1858. Thanks Joel!! After a few weeks of use and tweaking PoshLogger was born. PoshLogger is not trying to expose the log4net api through PowerShell Cmdlets but instead create an easy to use logging system but if you are interested in log4net for PowerShell look here http://log4posh.codeplex.com. PoshLogger is aimed at being simple and familiar with commands that are able to send log data to various targets, the use multiple Logger Objects to handle log data differently and allow the liberal use of debug calls through out scripts and modules with debug calls with the ability to set the logging level to hide the output from production but allow it to be there for debugging when it is needed.

Last edited Mar 23, 2011 at 4:07 PM by qawarrior, version 5