Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block mntlfngrs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mntlfngrs / logger.ps1
Last active Mar 13, 2020 — forked from barsv/logger.ps1
Logging in powershell with leading "0" numbered files that retain file extension and log rotation
View logger.ps1
# all logging settins are here on top
[string]$logFile = "$(gc env:computername).log",
[string]$logLevel = "DEBUG", # ("DEBUG","INFO","WARN","ERROR","FATAL")
[int64]$logSize = 10mb,
[int]$logCount = 25
You can’t perform that action at this time.