Write-Log
1.2
Write-Log is a simple PowerShell Logger for your script.
Write-Log write the log on the console with color (INFO/WARNING : Yellow, SUCCESS : Green,ERROR : Red, DEBUG : DarkYellow)
and create and log file on the execution folder of the script. The default name of the log is YourScriptName_log.txt
Usage :
Write-Log [-errorLevel] {INFO | SUCCESS | WARNING | ERR
Write-Log is a simple PowerShell Logger for your script.
Write-Log write the log on the console with color (INFO/WARNING : Yellow, SUCCESS : Green,ERROR : Red, DEBUG : DarkYellow)
and create and log file on the execution folder of the script. The default name of the log is YourScriptName_log.txt
Usage :
Write-Log [-errorLevel] {INFO | SUCCESS | WARNING | ERROR | DEBUG} [[-message] <string>] [OPTIONAL[-stack] <string>]
[<CommonParameters>]
Installation Options
Owners
Copyright
(c) 2019 Brice FOURIE. Tous droits réservés.
Package Details
FileList
- Write-Log.nuspec
- Write-Log.psd1
- Write-Log.psm1
Version History
Version | Downloads | Last updated |
---|---|---|
1.2 (current version) | 3,698 | 10/23/2019 |
1.1 | 18 | 10/23/2019 |
1.0 | 361 | 10/23/2019 |