|
@ -137,7 +137,6 @@ namespace IPA.Logging |
|
|
if (!addedConsolePrinters) |
|
|
if (!addedConsolePrinters) |
|
|
AddDefaultPrinter(new ColorlessConsolePrinter()); |
|
|
AddDefaultPrinter(new ColorlessConsolePrinter()); |
|
|
|
|
|
|
|
|
StdoutInterceptor.Intercept(); |
|
|
|
|
|
finalizedDefaultPrinters = true; |
|
|
finalizedDefaultPrinters = true; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -259,6 +258,7 @@ namespace IPA.Logging |
|
|
var started = new HashSet<LogPrinter>(); |
|
|
var started = new HashSet<LogPrinter>(); |
|
|
while (logQueue.TryTake(out var msg, Timeout.Infinite)) |
|
|
while (logQueue.TryTake(out var msg, Timeout.Infinite)) |
|
|
{ |
|
|
{ |
|
|
|
|
|
StdoutInterceptor.Intercept(); |
|
|
do |
|
|
do |
|
|
{ |
|
|
{ |
|
|
var logger = msg.Logger; |
|
|
var logger = msg.Logger; |
|
|