Commit Graph

26 Commits

Author SHA1 Message Date
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
b671c2a0a5 Style, removed redundant CForm overrides 2018-08-07 20:41:06 +02:00
Mathew Sutcliffe
23becf9619 Ref T184 Use CTokenBucket to throttle identical log messages. 2017-11-12 13:48:04 +00:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Mathew Sutcliffe
3aa3a2a892 refs #467 Mechanism for processes to notify each other of which log patterns they are subscribed to. 2015-11-19 21:02:02 +00:00
Mathew Sutcliffe
6d5e3b5897 refs #467 Refactored CLogPatternHandler garbage collection by hooking into QObject::disconnectNotify. 2015-11-19 21:01:59 +00:00
Klaus Basan
fd8cd9a42a Formatting, fixed includes, minor tweaks 2015-11-19 20:59:06 +00:00
Klaus Basan
9d0408138a refs #446, changed log handler as discussed in slack 2015-11-19 20:57:12 +00:00
Roland Winklmeier
a089d3641d refs #403 add BlackMisc shared library build 2015-05-05 21:34:19 +02:00
Roland Winklmeier
1b26311983 Fix license header spelling 2015-04-16 00:59:56 +02:00
Klaus Basan
f62f85b263 refs #359, fixed loghandler, removed / fine tuning of some output / log messages
see also discussion in #359
2014-12-28 22:20:01 +01:00
Mathew Sutcliffe
355d08d7e3 refs #348 Fixed parameter namespaces so that moc generates correct metacall code for calling slots by Qt::QueuedConnection. 2014-11-30 00:57:46 +01:00
Mathew Sutcliffe
cbbf9c256a refs #348 Added thread safety guarantees in CLogSubscriber. 2014-11-30 00:57:43 +01:00
Klaus Basan
216b9f170d refs #335 disable context logging to console in swiftgui_std 2014-11-30 00:52:53 +01:00
Mathew Sutcliffe
7a133bde11 refs #338 Added class CLogSubscriber, a helper for subscribing to log messages matching a certain pattern, with the ability to change the pattern at runtime. 2014-10-26 16:18:55 +00:00
Mathew Sutcliffe
82da5fca6f refs #338 Convenience methods. 2014-10-22 23:12:20 +01:00
Mathew Sutcliffe
7f783fac8f refs #338 CLogHandler: cleaned up the logic for selectively enabling console output, with the help of the partial ordering feature of CLogPattern::isProperSubsetOf. 2014-10-22 03:05:28 +01:00
Mathew Sutcliffe
4f9d522f7b refs #338 CLogHandler filtering messages using CLogPattern instead of the old prefix-based approach. 2014-10-22 03:05:18 +01:00
Mathew Sutcliffe
b12562ec5f refs #338 Fixed reentrancy of CLogHandler garbage collection. 2014-10-22 03:00:48 +01:00
Mathew Sutcliffe
c30bf9f61e refs #336 Fixed CLogHandler thread safety in swiftcore. 2014-10-16 17:06:46 +01:00
Mathew Sutcliffe
067344df24 refs #336 Added class CLogCategory to represent a log category. The category logic of CLogMessage is moved into this new class. 2014-10-16 17:05:28 +01:00
Mathew Sutcliffe
8992bd734c refs #336 CStatusMessage keeps track of which objects have handled it, to avoid duplicate handlings of the same message. 2014-10-16 17:05:06 +01:00
Mathew Sutcliffe
09685e8b37 refs #336 Delete CLogCategoryHandler when it is no longer used, and thread safety. 2014-10-15 01:46:35 +01:00
Mathew Sutcliffe
4549e84e05 refs #336 Renaming. 2014-10-15 01:46:35 +01:00
Mathew Sutcliffe
ed723c5e97 refs #316 Added CLogHandler which allows to subscribe to log messages. 2014-10-04 22:16:37 +01:00