Commit 7f174a2b authored by gabime's avatar gabime

fixed example and bench

parent 04c11631
...@@ -52,11 +52,7 @@ int main(int argc, char* argv[]) ...@@ -52,11 +52,7 @@ int main(int argc, char* argv[])
int howmany = 1048576; int howmany = 1048576;
int threads = 10; int threads = 10;
<<<<<<< HEAD
bool auto_flush = false;
=======
bool auto_flush = false; bool auto_flush = false;
>>>>>>> cppformat
int file_size = 30 * 1024 * 1024; int file_size = 30 * 1024 * 1024;
int rotating_files = 5; int rotating_files = 5;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
// spdlog usage example // spdlog usage example
// //
#include <iostream> #include <iostream>
#include "spdlog/spdlog.h"ls #include "spdlog/spdlog.h"
int main(int, char* []) int main(int, char* [])
...@@ -49,7 +49,7 @@ int main(int, char* []) ...@@ -49,7 +49,7 @@ int main(int, char* [])
console->info("Easy padding in numbers like {:08d}", 12); console->info("Easy padding in numbers like {:08d}", 12);
console->info("Support for int: {0:d}; hex: {0:x}; oct: {0:o}; bin: {0:b}", 42); console->info("Support for int: {0:d}; hex: {0:08x}; oct: {0:o}; bin: {0:b}", 42);
console->info("Support for floats {:03.2f}", 1.23456); console->info("Support for floats {:03.2f}", 1.23456);
console->info("Positional args are {1} {0}..", "too", "supported"); console->info("Positional args are {1} {0}..", "too", "supported");
......
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