Suggestion: define a "chainsaw" as log destination for consuming log without creating files

Dec 8, 2014 at 8:41 AM
Hi
i would like to know if it will be possibile to have a "chainsaw" mode for the TracerX destination using (for example) SignalR.
I ask for this because in special cases there's no need for saving the log's files while sometimes i need to "see" what the applications are doing to check that everything is ok.
Thanks again
Coordinator
Dec 9, 2014 at 1:36 AM
Sorry, but it just doesn't appeal to me.

The TracerX Logger class has a static event called MessageCreated you can subscribe to. It is enabled by setting the EventHandlerTraceLevel property of a given Logger instance. It can be enabled instead of (or in addition to) the file destination, meaning you don't have to generate a file if you don't want to. You can write a handler for MessageCreated that does anything you want with the log messages, such as forward them to chainsaw.