A Good Logger For The PowerShell Environment.
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,
PoshLogger got started from a script by Joel Bennet he posted on poshcode.org that I downloaded. You can view his work here
. 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
. 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.