dlr-gtlab / gt-logging

Basic C++14 logging library based on QsLog
0 stars 0 forks source link

Consider adding the verbosity of a non-silent message level to the ouput #51

Open rainman110 opened 1 year ago

rainman110 commented 1 year ago

In GitLab by @mariusalexander on May 25, 2023, 11:32

I have recieved the request to append the verbosity level to the output for non-silent messages (ie.e verbosity >= medium).

Example:

gtDebug().verbose() << "Hello World!"
// DEBUG [<TIME>] [<VERBOSE>] [<ID>] Hello World!

However, this would require an ABI change (and an API change as far as I can tell). I am not to sure whether this is worth it. If this feature gets more attention we'll might look into this more. For now this is low priority (IMHO).

If we do decide to implement this, issue #59 becomes relevant