On 1/3/2011 9:02 PM, Matthew Bingham wrote:
I cannot seem to find an answer to this anywhere. How can I increase decimal precision when logging? Something like std::stringstream::precision(). Is there a way to do it from the xml configuration file?
Increase the precision of what? Your application supplied message (%m)? An example of a log source line and the current and wanted output would reduce guessing.
If it's your user supplied message, it's a string type by the time it hits the Logger so changing the precision would need to be done in the application code.
-- Jacob Anawalt Gecko Software, Inc. janaw...@geckosoftware.com 435-752-8026