JT.WriteLog
2.0.0.1
Write-Log is a Powershell logging script.
Write-Log write the log on the console with color and create a 'Log' folder for the log file. The default name of the log is "{YourScriptname}_log.txt".
The console color for the log:
ErrorLevel Color
---------- ----------
INFO White
SUCCESS Green
WAR
Write-Log is a Powershell logging script.
Write-Log write the log on the console with color and create a 'Log' folder for the log file. The default name of the log is "{YourScriptname}_log.txt".
The console color for the log:
ErrorLevel Color
---------- ----------
INFO White
SUCCESS Green
WARNING Yellow
ERROR Red
DEBUG DarkYellow
Usage:
Write-Log [-errorLevel] {INFO | SUCCESS | WARNING | ERROR | DEBUG} [[-message] <String>] [[-logRecycling]
{Continue | Daily | Hourly}] [[-logPath] <String>] [-debugMode] [<CommonParameters>]
Installation Options
Owners
Copyright
(c) 2024 Johnny Tse. All rights reserved.
Package Details
FileList
- JT.WriteLog.nuspec
- JT.WriteLog.psd1
- JT.WriteLog.psm1
Version History
Version | Downloads | Last updated |
---|---|---|
2.2.0.0 | 11 | 4/16/2025 |
2.1.0.0 | 22 | 3/7/2025 |
2.0.0.4 | 8 | 3/3/2025 |
2.0.0.3 | 17 | 2/26/2025 |
2.0.0.1 (current version) | 10 | 1/9/2025 |