Skip to content

Commit

Permalink
Update Write-Log.psm1
Browse files Browse the repository at this point in the history
  • Loading branch information
captainqwerty committed Jan 22, 2022
1 parent 22e7928 commit 7477102
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Module/Write-Log/Write-Log.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ The log message entered into the log file.
The severity set for the log message within the log file. (Info, Warning, Error).
.PARAMETER logLocation
The directory of the log file.
The directory of the log file. If left blank the log will be located in the Write-Log module folder.
.PARAMETER DateFormat
String format if a specific date format is desired.
.EXAMPLE
write-log -Message "Oh no Jurgen was here"
write-log -Message "Info worthy log"
.EXAMPLE
write-log -Message "Oh no Jurgen was here" -severity "Error"
write-log -Message "Error message!! OH NO!" -severity "Error"
.EXAMPLE
write-log -Message "Oh no Jurgen was here" -severity "Error" -LogLocation "C:\temp\ffsJurgen.log"
write-log -Message "Errorrrr!!!!" -severity "Error" -LogLocation "C:\temp\Events.log"
.NOTES
This module can be found in the following GitHub Repo: https://github.com/captainqwerty/Write-Log
Expand Down

0 comments on commit 7477102

Please sign in to comment.