Skip to content

Commit

Permalink
#158 set logLevel to OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
lustricker committed Sep 1, 2020
1 parent 57c472a commit b97ee3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Files/powerGate/Modules/Logging.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class LoggingSettings {
[System.IO.FileInfo]$LogFile

LoggingSettings() {
$this.LogLevel = [LogLevel]::DEBUG
$this.LogLevel = [LogLevel]::OFF #TODO: Set this to OFF when not needed anymore, otherwise memory overflow if logFile becomes to big!
$this.LogFile = Join-Path $env:LOCALAPPDATA "coolOrange\Projects\cOLog.txt"
$this.WriteHost = $false
}
Expand Down

0 comments on commit b97ee3d

Please sign in to comment.