mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-14 15:57:53 +02:00
Merged API and CLI into one.
This commit is contained in:
@ -30,7 +30,7 @@ public class Logger : TextWriter
|
||||
{
|
||||
_formattedConsoleLogger = new FormattedConsoleLogger(stdOut, encoding);
|
||||
}
|
||||
else
|
||||
else if (enabledLoggers.Contains(LoggerType.ConsoleLogger) && stdOut is null)
|
||||
{
|
||||
_formattedConsoleLogger = null;
|
||||
throw new ArgumentException($"stdOut can not be null for LoggerType {LoggerType.ConsoleLogger}");
|
||||
|
Reference in New Issue
Block a user