#include <pantheios/inserters/integer.hpp>
#include <pantheios/pan.hpp>
int n = 0x13;
pan::log_DEBUG("n=", pan::integer(n, 4, pan::fmt::hex));
pan::log_DEBUG("n=", pan::integer(n, 4, pan::fmt::hex));
would have resulted in the output of a line such as:
[old_int_hex.4312, 19/10/2010 7:38:53.062 AM; Debug]: n= 13
With the (surprisingly involved!) changes in 1.0.1 beta 197, the line produces output such as:
[old_int_hex.488, 19/10/2010 7:45:24.625 AM; Debug]: n=0x13
Note the absence of the two spaces - between n= and 13 - that were previously associated with expanding 13 to a minimum width of four. (Anyone who's used printf() can guess how that came about.)
Since these are only minimum widths, this change is unlikely to upset any log processing, but it's possible, so be advised.
No comments:
Post a Comment