Messages from referenced DLL

I have a .net core 2.1 app that includes a full framework 4.6.1 class library (at the moment i can’t change this to .net standard)

I want messages in the class library to be visible to a LogProvider in the .net core.

Is it possible to capture any or all of the following in the .net core app?




_source = new TraceSource(“NAME”, SourceLevels.All);

_source.TraceEvent(TraceEventType.Verbose, 0, message);

Visual Studio Debugger does see the messages in the Debug output.

submitted by /u/afastrunner
[link] [comments]

Leave a Reply