|
256e1c32b3
|
log: allow dynamic updates of the global log level
|
2017-01-31 20:30:38 +11:00 |
|
|
9a798446b5
|
build: remove unnecessary includes
discovered with include-what-you-use
|
2016-10-12 15:08:22 +11:00 |
|
|
116ad04a1f
|
build: use ostream/istream over iostream
|
2016-08-04 17:42:41 +10:00 |
|
|
d8918d6f2c
|
log: display error if LOG_LEVEL is invalid
|
2016-06-24 16:56:44 +10:00 |
|
|
1f432c13b7
|
build: avoid type truncation warnings
discovered with clang's -Wshorten-64-to-32
|
2016-05-12 17:39:33 +10:00 |
|
|
dd00f4167a
|
log: break after printing the log message
|
2016-04-06 13:50:44 +10:00 |
|
|
60b65a9a24
|
log: add ANSI colours to output
|
2016-03-21 14:21:14 +11:00 |
|
|
800d7fef00
|
log: add breakpoints when BREAK_LEVEL is reached
|
2016-01-21 13:55:23 +11:00 |
|
|
9f6d41eb8c
|
log: remove utility values from level_t enum
|
2016-01-21 13:55:08 +11:00 |
|
|
b107666376
|
log: comment to_level failure behaviour
|
2016-01-21 13:54:41 +11:00 |
|
|
aee9d8ef36
|
log: remove boost::format to reduce complexity
|
2016-01-20 16:40:42 +11:00 |
|
|
4eb10d0c6f
|
log: remove useless to_string(level_t)
|
2016-01-20 16:11:47 +11:00 |
|
|
c165c07e41
|
log: remove namespace imports
|
2016-01-20 15:44:01 +11:00 |
|
|
6975529cfd
|
log: update copyright dates
|
2016-01-20 15:37:52 +11:00 |
|
|
aea8dbbf00
|
log: standardise sanity and to_foo naming
|
2016-01-20 15:37:31 +11:00 |
|
|
ecbedf6420
|
log: style
|
2016-01-20 15:36:32 +11:00 |
|
|
8738192476
|
log: add scoped timer
|
2015-07-23 17:37:43 +10:00 |
|
|
ea953ec024
|
log: style
|
2015-07-23 17:37:02 +10:00 |
|
|
7ae57730f0
|
whitespace
|
2015-04-13 18:06:08 +10:00 |
|
|
2658b41ea1
|
relicence under Apache-2.0
|
2015-04-13 18:05:28 +10:00 |
|
|
ee455e1ae7
|
log: mitigate unused variable in release
|
2015-01-21 23:40:13 +11:00 |
|
|
25f6cd635b
|
log: allow lowercase LOG_LEVEL values
|
2014-09-11 15:33:46 +10:00 |
|
|
011ac70a9d
|
Add scoped_logger from waif
|
2013-03-05 21:38:51 +11:00 |
|
|
23c9bf17e6
|
Remove embedded null from log output
|
2012-06-14 18:26:46 +10:00 |
|
|
d968bd8549
|
Use string object for log output buffering.
Clang doesn't want to pass a char array to boost::format and I can't be
arsed finding out why.
|
2012-06-13 16:01:42 +10:00 |
|
|
0ac8785b2a
|
Fix some whitespace errors
|
2012-05-30 20:20:19 +10:00 |
|
|
4f5d75a1df
|
Make all check macros uppercase
|
2012-05-11 12:34:21 +10:00 |
|
|
820f28d4b1
|
Ensure the log is flushed at end of print
|
2012-05-11 12:18:27 +10:00 |
|
|
7281930a39
|
Only use abbreviated names for log levels
|
2012-05-11 12:18:08 +10:00 |
|
|
3548dcd675
|
Use std::array for level_to_string
* Explicitly uses the correct size.
* Remove some 'unsafe loop optimisation' warnings
|
2012-05-08 16:37:38 +10:00 |
|
|
610ca2d46d
|
Add seconds to the output of log messages
|
2012-05-03 15:55:09 +10:00 |
|
|
d8b74be608
|
Read a maximum output level from the env.
Importantly this does not change whether log parameters are evaluated,
it simply prevents output to the log stream; ie, it is purely aethetic.
|
2012-04-26 18:22:24 +10:00 |
|
|
2515db00f2
|
Add string to level conversions
|
2012-04-26 18:22:05 +10:00 |
|
|
9f6566812b
|
Use abbreviated strings for level outputs
The output looks pretty painful when long names are used everywhere.
|
2012-04-26 18:21:23 +10:00 |
|
|
99bdd49f2f
|
Add first pass at logging code
|
2012-04-24 17:38:35 +10:00 |
|