dlr-gtlab / gt-logging

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

Resolve "Enabling "log file and line numbers" flag will break verbosity levels" - [merged] #105

Closed rainman110 closed 10 months ago

rainman110 commented 1 year ago

In GitLab by @mariusalexander on May 3, 2023, 13:47

Merges 43-enabling-log-file-and-line-numbers-flag-will-break-verbosity-levels -> master

Closes #43

The Helper class for the macros will check if the stream object "can log" and only then proceeds to log the message.

rainman110 commented 1 year ago

In GitLab by @mariusalexander on May 3, 2023, 13:58

added 2 commits

Compare with previous version

rainman110 commented 1 year ago

In GitLab by @mariusalexander on May 3, 2023, 13:58

requested review from @rainman110

rainman110 commented 1 year ago

In GitLab by @mariusalexander on May 3, 2023, 13:59

requested review from @jensschmeink

rainman110 commented 1 year ago

In GitLab by @jensschmeink on May 3, 2023, 14:00

That change seems very simple, great!

rainman110 commented 1 year ago

In GitLab by @jensschmeink on May 3, 2023, 14:00

approved this merge request

rainman110 commented 1 year ago

In GitLab by @mariusalexander on May 3, 2023, 14:02

Hm the tests no longer seem to work :(

rainman110 commented 1 year ago

In GitLab by @mariusalexander on May 3, 2023, 14:02

marked this merge request as ready

rainman110 commented 1 year ago

In GitLab by @rainman110 on May 4, 2023, 04:59

My fault. I needed to rename the unit test CI variable for the exe name due to the cmake transition.

rainman110 commented 1 year ago

In GitLab by @rainman110 on May 4, 2023, 19:32

Commented on tests/unittests/test_loglinenumbers.cpp line 39

I think you should set the verbosity first, otherwise, the test might fail if another earlier test sets the verbosity to high.

rainman110 commented 1 year ago

In GitLab by @mariusalexander on May 5, 2023, 07:22

added 1 commit

Compare with previous version

rainman110 commented 1 year ago

In GitLab by @mariusalexander on May 5, 2023, 07:22

Commented on tests/unittests/test_loglinenumbers.cpp line 39

Good catch (y) done in newest commit

rainman110 commented 1 year ago

In GitLab by @mariusalexander on May 5, 2023, 09:32

added 10 commits

Compare with previous version

rainman110 commented 1 year ago

In GitLab by @mariusalexander on May 5, 2023, 09:34

resolved all threads

rainman110 commented 1 year ago

In GitLab by @mariusalexander on May 5, 2023, 09:36

@rainman110 @jensschmeink Please approve once more

rainman110 commented 1 year ago

In GitLab by @rainman110 on May 5, 2023, 10:08

approved this merge request

rainman110 commented 1 year ago

In GitLab by @rainman110 on May 5, 2023, 10:08

mentioned in commit 40b1f321d093f22b14c72376ff3219ffa8ca15ee