MSAdministrator / PSLogging

A PowerShell Logging Module that uses Classes to log to the console, log file, or the event viewer
MIT License
13 stars 3 forks source link

Modify output timestamp for all log types #5

Closed MSAdministrator closed 7 years ago

MSAdministrator commented 7 years ago

It was suggested here: https://4sysops.com/archives/standardize-powershell-logging-with-my-write-logentry-function/ that I should change the format of the timestamp outputted by the Log Class. Need to change the format to:

yyyy-MM-ddTHH:mm:ss