Alexander B
7ab7a5291d
Improve implementation of logging macros. #2331 ( #3862 )
...
* Improve implementation of logging macros. #2331
The GNU compiler emits a warning if nested "if" statements are followed by
an "else" statement and braces are not used to explicitly disambiguate the
"else" binding. This leads to problems with code like:
if (gate)
ASSERT_*(condition) << "Some message";
The "switch (0) case 0:" idiom is used to suppress this.
* I was wrong.
do-while better then switch-case approach for "ambiguous else blocker"
https://godbolt.org/z/W5nnYrzx6
* try to fix tabs
* again fix tabs
* again fix tabs
* again fix tabs
2023-03-18 05:21:32 -05:00
Alex Fabijanic
49f6def959
feat(Logger): Optimize multi-arg logger methods to only call format() if log level allows #2332
2022-08-30 09:29:53 +02:00
Günter Obiltschnig
dea91c8105
style fix
2020-02-13 22:08:44 +01:00
Günter Obiltschnig
1bf40a0cd2
merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8
2020-01-09 10:08:09 +01:00
Günter Obiltschnig
04e7e04d4d
Remove \$Id`$ headers
2017-09-09 11:14:06 +02:00
zosrothko
1143a68518
Add up to 10 arguments to variables arguments list for all level formatting methods
2014-11-03 14:22:08 +01:00
Roger Meier
b0581433a7
LICENSE: add info about SPDX-License-Identifier usage and use it
...
fix: remove executable flag and change back to 100644 (was 100755)
Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Roger Meier
628a06f718
LICENSE: add info about SPDX-License-Identifier usage and use it
...
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Pascal Bach
e98ad37401
Add a POCO_LOG_DEBUG flag
...
If the POCO_LOG_DEBUG is defined the poco_trace* and the poco_debug*
produce logs even if the _DEBUG flag is not set.
This makes the macros usable for applications that need to enable
higher log levels later at run time.
2014-04-11 13:54:02 +02:00
Marian Krivos
367b174d78
Poco::Logger - add formatted version of methods
2012-08-04 10:40:58 +00:00
Aleksandar Fabijanic
5a639074d9
change EOL to 'native'
2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
d75e68c027
new trunk (base for 1.5)
...
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7
removing old trunk files
2012-04-23 00:43:14 +00:00
Marian Krivos
7d7c02c579
trunk: backport eventing from 1.4.3
2012-02-05 12:16:58 +00:00
Marian Krivos
8b70c37260
trunk: sync from 1.4.3
...
make & cmake fixes
2012-02-04 17:03:09 +00:00
Marian Krivos
6268aa3865
backport changes from 1.4.3 branch
2012-01-07 11:06:14 +00:00
Marian Krivos
e729c102b0
trunk/branch integration: documentation
2011-08-23 06:52:06 +00:00
Marian Krivos
47f0c97f8e
trunk/branch integration: Logger()
2011-08-22 17:08:27 +00:00
Guenter Obiltschnig
23ea66bb12
fixed SF# 2782709
2009-06-17 09:08:34 +00:00
Guenter Obiltschnig
da49971d0f
synced with main repository
2008-01-28 17:23:19 +00:00
Guenter Obiltschnig
7639f5a3f0
sync to internal repository
2007-02-23 14:27:57 +00:00
Guenter Obiltschnig
bb11cbaf29
sources from main repository
2006-12-22 09:51:53 +00:00
Guenter Obiltschnig
772a1021dc
sources from main repository
2006-12-22 09:31:08 +00:00
Guenter Obiltschnig
768642ae98
sources for 1.3
2006-11-17 16:21:51 +00:00
Guenter Obiltschnig
84fedbdb60
set eol-style to native
2006-10-23 15:48:43 +00:00
Guenter Obiltschnig
072ba74f28
changes for 1.2.5
2006-10-23 15:33:11 +00:00
Guenter Obiltschnig
2d4078f392
submitted 1.2.0
2006-08-29 07:10:35 +00:00