dlr-gtlab / gt-logging

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

Implement a standardized solution to log a message just once #60

Closed rainman110 closed 10 months ago

rainman110 commented 1 year ago

In GitLab by @mariusalexander on Sep 15, 2023, 07:36

gtLogOnce(Debug).medium() << "Hello world"; // Debug will denote the logging level (to avoid having to declare multiple new macros)
gtLogOnce(Debug).medium() << "Hello world";
gtLogOnce(Debug).medium() << "Hello world";

// OUT: "Hello world"
rainman110 commented 1 year ago

In GitLab by @mariusalexander on Sep 15, 2023, 11:07

created branch 60-implement-a-standardized-solution-to-log-a-message-just-once to address this issue

rainman110 commented 1 year ago

In GitLab by @mariusalexander on Sep 15, 2023, 16:08

mentioned in commit e28425fbc703558649b667b36eaa821544dc4640