-
Notifications
You must be signed in to change notification settings - Fork 246
Rename LogLevel.Verbose to .Trace and modify its severity to be below .Debug #299
Comments
Good to make it consistent. How about changing the order to |
👍 |
I agree with @lodejard But you could also argue that the Debug level should be considered a special dev only level and therefore is even more detailed then a verbose setting. |
@JunTaoLuo make sure to update the wiki in this repo as well. |
And post an announcement. |
@muratg I took a look at a few logging frameworks. Seems like not many loggers have both debug and verbose but SmartInspect does have the same order we do. Loggers that have both verbose and trace seem to put trace as the least severe level though.
|
Nice research! There's Serilog also, which is In that case only SmartInspect puts Debug below Verbose-or-Trace, all others put Verbose-or-Trace as the lowest value. We should do the same and move Verbose as the last entry in the enum below Debug. |
Agreed. Just curious if we should rename it to Trace since that is uniformly less severe than Debug across the board. |
Thanks @JunTaoLuo! I think renaming it to Trace as well as reordering make sense looking at all the other ones. |
@JunTaoLuo Nice job! NLog, log4net, log4j, and probably the rest also have an |
@TJSoftware Maybe you are looking for |
@JunTaoLuo
|
@TJSoftware We are removing |
@JunTaoLuo Ahh, I missed that, I primarly was looking for the LogLevel enum. I see now that Louis DeJardin added CommitLogLevel.cs |
👍 :-) |
Man.... that handshake to hug transformation. Epic. ;-) |
Great news! 👍 !! |
It has two things going against it:
LogLevel
enum is inconsistent with other logging systems. This can easily be confusing to users.This is teh codez: https://github.com/aspnet/Logging/blob/dev/src/Microsoft.Extensions.Logging.Abstractions/LogLevel.cs#L11-L15
@lodejard @muratg @DamianEdwards
The text was updated successfully, but these errors were encountered: