Skip to content

Commit 99bcf31

Browse files
committed
Fixing a pretty old (and stupid) mistake. #krap
1 parent 53beba1 commit 99bcf31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/ModuleManager/Logging/PatchLogger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ internal PatchLogger(string filename)
3838
this.methods[i++] = new LogMethod(this.log.info);
3939
this.methods[i++] = new LogMethod(this.log.detail);
4040
this.methods[i++] = new LogMethod(this.log.trace);
41-
this.log.level = K.Level.TRACE;
41+
this.log.level = KSPe.Globals<ModuleManager>.Log.Level;
4242
}
4343

4444
public void Log(K.Level logType, string message, object[] @params) => this.methods[(int)logType](message, @params);

0 commit comments

Comments
 (0)