Commit 69689cae authored by Gabi Melman's avatar Gabi Melman

Update README.md

parent 1e7cc4ce
......@@ -64,13 +64,11 @@ int main(int, char* [])
console->info("Creating file {}..", filename);
auto file_logger = spd::rotating_logger_mt("file_logger", filename, 1024 * 1024 * 5, 3);
file_logger->info("Log file message number", 1);
for (int i = 0; i < 100; ++i)
{
file_logger->info("{} * {} = {}, i, i, i*i );
}
file_logger->info("Log file message number {}..", 1);
for (int j = 1; j <= 10; ++j)
for (int i = 1; i < 10; ++i)
file_logger->info("{} * {} equals {}, i, j, i*j );
console->info("Easy padding in numbers like {:08d}", 12);
console->info("int: {0:d}; hex: {0:x}; oct: {0:o}; bin: {0:b}", 42);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment