Commit Graph

33 Commits

Author SHA1 Message Date
fa9f537e59 log: prepare to expand headers 2019-10-10 15:10:41 +11:00
8f7d4adef7 log: move symbols into the 'log' namespace 2019-10-10 12:32:03 +11:00
8fc182ca8e preprocessor: use the correct include path for preprocessor.hpp 2019-06-20 11:44:04 +10:00
f4438831a6 build: update the meson build configuration 2019-06-19 17:28:01 +10:00
7805153e17 nocopy: remove deprecated header 2019-05-17 13:44:14 +10:00
bfe0a92eec preprocessor: build the header out of tree
This avoids unnecessary rebuilds when we have parallel configurations
being built.
2018-10-30 21:41:15 +11:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
c7fe53f430 log: use forwarding references for format parameters 2018-08-01 14:19:44 +10:00
2d7e3e5d7d build: prefer iosfwd over iostream 2018-03-22 16:11:13 +11:00
0e3fa05f05 build: migrate from ipp files to pure hpp files
ipp files weren't a great way of keeping things clean, and IDEs have a
little trouble dealing with the split configuration. this simplifies
debugging a great deal.
2018-02-28 11:49:13 +11:00
2713da45f4 format: rework parser for currying support 2018-01-09 16:28:46 +11:00
4050754ab4 preprocessor: use a script to create map/reduce
We need over 300 arguments for some projects and I'm not going to code
that shit by hand.
2017-09-12 14:17:30 +10:00
256e1c32b3 log: allow dynamic updates of the global log level 2017-01-31 20:30:38 +11:00
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