Multi-target logging module to simplify and centralize logging in your code.
The PSLogging module supports the following log targets:
- File
- Host
- PassThru (will write to the verbose, warning, and error streams)
- Event Log
- Email (log events are collected, and a separate cmdlet is used to send the e-mail)
The PSLogging module is compatible with PowerShell v2.0 and up.