That makes sense to me. Why create code we have to maintain when there's a 
1st-party solution?

One other thing that note is that it would also encourage clients to use that 
interface as well, and give them access to those levels of logs by default if 
they implement Logging.Abstrations (a practice MS is promoting).

Is there anything in particular that Trace does which a log level wouldn't?

~Derek

-----Original Message-----
From: Krzysztof <[email protected]>
Sent: Saturday, October 19, 2019 11:56 AM
To: [email protected]
Subject: NMS API - Add Trace log level to NMS Tracer

[External Email]
------------------------------------------------------------------------------

Hi,

I would like to extend Tracer API -->
https://github.com/apache/activemq-nms-api/blob/master/src/nms-api/Tracer.cs

with "Trace" log level. Currently there are 5 log levels available (Debug, 
Info, Warn, Error, Fatal), but Trace is missing.

Ideally I would like to abandon Tracer concept whatsoever, and replace it with 
something more suitable for this day and age, like 
Microsoft.Extensions.Logging.Abstractions, which is de facto standard 
abstraction for logging concerns in .net world.

What do you think?

Thanks,
Krzysztof

Follow Us: Facebook<http://www.qg.com/social1> | 
Twitter<http://www.qg.com/social2> | LinkedIn<http://www.qg.com/social3> | 
YouTube<http://www.qg.com/social4>

Reply via email to