0756f3f4cf
log: set default log level to NOTICE
...
Using NOTICE as the default log level gives us both DEBUG and INFO to
play with for messages that we don't want to display by default.
2016-11-23 17:45:53 +11:00
116ad04a1f
build: use ostream/istream over iostream
2016-08-04 17:42:41 +10:00
8cc4c1e82a
format: reimplement format rendering
...
requires literal string arrays, and implements more of the specifier
specification. does not implement 'n' or '$' specifiers. falls back to
snprintf for real arguments.
2016-07-28 13:39:27 +10:00
f644c5dec4
log: forward logging arguments
2016-04-05 10:48:08 +10:00
60b65a9a24
log: add ANSI colours to output
2016-03-21 14:21:14 +11:00
61e1d6a303
log: expose less const, use more const
2016-03-17 18:08:02 +11:00
9f6d41eb8c
log: remove utility values from level_t enum
2016-01-21 13:55:08 +11:00
aee9d8ef36
log: remove boost::format to reduce complexity
2016-01-20 16:40:42 +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
011ac70a9d
Add scoped_logger from waif
2013-03-05 21:38:51 +11:00
45a61db86b
Fully qualify logging function name
2012-06-08 16:45:18 +10:00
c81919dbe7
Disable LOG_DEBUG when debugging isn't enabled
2012-05-11 12:18:41 +10:00
789cec88f4
Avoid name clashes with Windows.h and ERROR
2012-04-27 17:56:23 +10:00
f8145d067f
Add LOG_WARN convenience macro
2012-04-27 13:17:56 +10:00
fa5f78366b
Add WARN and DEFAULT log level values
2012-04-26 18:20:46 +10:00
99bdd49f2f
Add first pass at logging code
2012-04-24 17:38:35 +10:00