dlr-gtlab / gt-logging

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

Resolve "Verbose option for the logging system" - [merged] #92

Closed rainman110 closed 11 months ago

rainman110 commented 2 years ago

In GitLab by @rainman110 on Oct 20, 2022, 14:59

Merges 29-verbose-option-for-the-logging-system-2 -> master

This MR adds support for logging of verbose message, as

gtError().verbose() << "This verbose error should must appear";

Depending on the verbosity of the logger, the message will either be logged or not. For more information, look at the tests.

@jensschmeink I tested it also against gtlab core, which works as expected. Note, that the GTLabLogging.dll needs to be copied to GTLab's dll directory, otherwise you'll get an error.

Note, i also fixes many cppcheck issues. If you want to review the verbose() related stuff, just look at the first commit.

Closes #29

rainman110 commented 2 years ago

In GitLab by @mariusalexander on Oct 25, 2022, 07:26

approved this merge request

rainman110 commented 2 years ago

In GitLab by @jensschmeink on Oct 25, 2022, 11:31

mentioned in commit 211eaa3c6073e29acea046382dee11042a5a9e27