mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 14:42:13 +08:00
Update README.md
This commit is contained in:
parent
69689cae80
commit
c7432b8ece
@ -68,7 +68,7 @@ int main(int, char* [])
|
|||||||
|
|
||||||
for (int j = 1; j <= 10; ++j)
|
for (int j = 1; j <= 10; ++j)
|
||||||
for (int i = 1; i < 10; ++i)
|
for (int i = 1; i < 10; ++i)
|
||||||
file_logger->info("{} * {} equals {}, i, j, i*j );
|
file_logger->info("{} * {} equals {}, i, j, i*j );
|
||||||
|
|
||||||
console->info("Easy padding in numbers like {:08d}", 12);
|
console->info("Easy padding in numbers like {:08d}", 12);
|
||||||
console->info("int: {0:d}; hex: {0:x}; oct: {0:o}; bin: {0:b}", 42);
|
console->info("int: {0:d}; hex: {0:x}; oct: {0:o}; bin: {0:b}", 42);
|
||||||
|
Loading…
Reference in New Issue
Block a user