exilon / QuickLogger

Powerful and flexible library for logging on files, console, memory, email, rest, eventlog, syslog, slack, telegram, redis, logstash, elasticsearch, influxdb, graylog, Sentry, Twilio, ide debug messages and throw events for Delphi/Firemonkey/freepascal/.NET (Windows/Linux/OSX/IOS/Android).
Apache License 2.0
381 stars 84 forks source link

Add LogLevel as additional Information #92

Open jfudickar opened 1 year ago

jfudickar commented 1 year ago

Hi, i would like to see something like a log level (as an integer) which could be used like a log stack information. I want to use it for the following use cases:

Parts of that you can see in the CodeSite components. I didn't want to replace them but get some things out of this.

Do you think this could be helpful/usefull? I could create a first Pull request for this.

Regards Jens

jfudickar commented 1 year ago

Do you think it makes sense that I invest some time and create a pull request for that?

exilon commented 1 year ago

Are you talking about File provider?

jfudickar commented 1 year ago

No, I would add this to the core functionality, s9 that it can be used for all log providers

jfudickar commented 1 year ago

Any news?

jfudickar commented 1 year ago

??? I can provide a pull request for that, but I do not want to invest time if it's not wanted.

exilon commented 1 year ago

It must be an optional feature and don't alter normal flow of actual logger core. Quick.Debug implements a similar functionaliy getting elapsed time between a block or function.

jfudickar commented 11 months ago

I've started the first steps.

Can you have a look on it here : https://github.com/jfudickar/QuickLogger/tree/LogLevel