From d829a2fc508ff48a0b624192a0aa84fdf89e07a9 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Wed, 4 Dec 2019 18:06:37 -0600 Subject: [PATCH] Added some notes to StatnardLogger --- IPA.Loader/Logging/StandardLogger.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPA.Loader/Logging/StandardLogger.cs b/IPA.Loader/Logging/StandardLogger.cs index 655f5695..e6ec19bc 100644 --- a/IPA.Loader/Logging/StandardLogger.cs +++ b/IPA.Loader/Logging/StandardLogger.cs @@ -269,7 +269,7 @@ namespace IPA.Logging var started = new HashSet(); while (logQueue.TryTake(out var msg, Timeout.Infinite)) { - StdoutInterceptor.Intercept(); + StdoutInterceptor.Intercept(); // only runs once, after the first message is queued do { var logger = msg.Logger; @@ -309,7 +309,7 @@ namespace IPA.Logging if (debugConfig != null && debugConfig.HideMessagesForPerformance && logQueue.Count > debugConfig.HideLogThreshold) - { // spam filtering (if queue has more tha 512 elements) + { // spam filtering (if queue has more than HideLogThreshold elements) logWaitEvent.Reset(); // pause incoming log requests // clear loggers for this instance, to print the message to all affected logs