
14 Mar
2010
14 Mar
'10
7:22 p.m.
AMDG Tom Brinkman wrote:
You coud probably fix all my concerns by adding something like the following.
Notice that there are no macros, no templates, its header file only and it does not require any other boost libraries.
It can also cause technical ODR violations if used in another header.
Usage: boost::error("An Error has occured: %s\n", "Put message here");
namespace boost::log { static void error (const char *format, ...); static void message (const char *format, ...); static void critical (const char *format, ...); static void warning (const char *format, ...); static void debug (const char *format, ...); }
In Christ, Steven Watanabe