I've read this question and I know its possible: Common.Logging for TraceSource
Can someone please post an example. Also it could be helpfull if it can be configured to use the TraceSource in code instead of using the .config file.
Thanks
I've read this question and I know its possible: Common.Logging for TraceSource
Can someone please post an example. Also it could be helpfull if it can be configured to use the TraceSource in code instead of using the .config file.
Thanks
Copyright © 2021 Jogjafile Inc.
If your goal is to have Common.Logging forward messages to a TraceSource, then your logger name and tracesource name have to match.
And from code you write:
Hope this helps even though the post is 2 months old and the tracesouce is setup via .config.