mirror of
https://github.com/boostorg/log.git
synced 2026-01-25 18:22:25 +00:00
d595b6de33c85ec3bf7c81fc2eb5c4537bdfd786
"If the day of the month is less
than 10, then it MUST be represented as a space and then the
number. For example, the 7th day of August would be
represented as "Aug 7", with two spaces between the "g" and
the "7".
The printf formatter "%2d" does this. "% 2d" will prepend an unwanted space, e.g.
printf("Aug % 2d\n", 27) => Aug 27
According to RFC3164, the day of month field in the timestamp should be formatted as two characters:
Boost.Log, part of collection of the Boost C++ Libraries, provides tools for adding logging to libraries and applications.
Directories
- build - Boost.Log build scripts
- config - Boost.Log build configuration code and scripts
- doc - QuickBook documentation sources
- example - Boost.Log examples
- include - Interface headers of Boost.Log
- src - Compilable source code of Boost.Log
- test - Boost.Log unit tests
More information
- Documentation
- Ask questions
- Report bugs. Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
- Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.
- Discussions about the library are held on the Boost developers mailing list. Be sure to read the discussion policy before posting and add the
[log]tag at the beginning of the subject line.
License
Distributed under the Boost Software License, Version 1.0.
Description
Languages
C++
99%
CMake
1%
