In the ActivateConsoleLog method of BufferedSumoLogicAppender and SumoLogicAppender in SumoLogic.Logging.Log4Net, if the project is not compiled with netfull, DummyLog is used instead of ConsoleLog. This is unexpected and makes it hard to figure out what's going on.
The project SumoLogic.Logging.Log4Net targets .NET Standard 1.3 and has access to System.Console. ConsoleLog is in SumoLogic.Logging.Common which targets .NET Standard 1.1 and does not have access to System.Console, so it's only compiled with netfull.
Is there a reason why SumoLogic.Logging.Common targets .NET Standard 1.1? Since SumoLogic.Logging.Log4Net targets .NET Standard 1.3, could SumoLogic.Logging.Common also target 1.3 so that the ActivateConsoleLog method uses ConsoleLog?
In the
ActivateConsoleLog
method ofBufferedSumoLogicAppender
andSumoLogicAppender
in SumoLogic.Logging.Log4Net, if the project is not compiled withnetfull
,DummyLog
is used instead ofConsoleLog
. This is unexpected and makes it hard to figure out what's going on.The project SumoLogic.Logging.Log4Net targets .NET Standard 1.3 and has access to System.Console.
ConsoleLog
is in SumoLogic.Logging.Common which targets .NET Standard 1.1 and does not have access to System.Console, so it's only compiled withnetfull
.Is there a reason why SumoLogic.Logging.Common targets .NET Standard 1.1? Since SumoLogic.Logging.Log4Net targets .NET Standard 1.3, could SumoLogic.Logging.Common also target 1.3 so that the
ActivateConsoleLog
method usesConsoleLog
?