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

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Write-Log

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Brice FOURIE

Copyright

(c) 2019 Brice FOURIE. Tous droits réservés.

Owners

Functions

Write-Log

Dependencies

This module has no dependencies.

Version History

Version Downloads Last updated
1.2 (current version) 160 10/23/2019
1.1 5 10/23/2019
1.0 4 10/23/2019