From d7ba1fdd3d7d9594638328d549ff35fc88af0bd0 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 22 Dec 2019 19:36:58 +0200 Subject: [PATCH 1/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1dd959eb..75d6e51c 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ $ cmake .. && make -j * Very fast (see [benchmarks](#benchmarks) below). * Headers only, just copy and use. Or use as a compiled library. * Feature rich formatting, using the excellent [fmt](https://github.com/fmtlib/fmt) library. -* **New!** [Backtrace](#backtrace-support) support - store debug or other messages in a ring buffer and display later on demand. +* **New!** [Backtrace](#backtrace-support) support - store debug in a ring buffer and display later on demand. * Fast asynchronous mode (optional) * [Custom](https://github.com/gabime/spdlog/wiki/3.-Custom-formatting) formatting. * Multi/Single threaded loggers. From a0a1e5c0785fd6c662e1657a75a8ab94f852a342 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 22 Dec 2019 19:37:42 +0200 Subject: [PATCH 2/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75d6e51c..bdd9a8fd 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ $ cmake .. && make -j * Very fast (see [benchmarks](#benchmarks) below). * Headers only, just copy and use. Or use as a compiled library. * Feature rich formatting, using the excellent [fmt](https://github.com/fmtlib/fmt) library. -* **New!** [Backtrace](#backtrace-support) support - store debug in a ring buffer and display later on demand. +* **New!** [Backtrace](#backtrace-support) support - store debug messages in a ring buffer and display later on demand. * Fast asynchronous mode (optional) * [Custom](https://github.com/gabime/spdlog/wiki/3.-Custom-formatting) formatting. * Multi/Single threaded loggers. From 9715d8003005d9150f8513a228e4ad5f4a2c6a3c Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 22 Dec 2019 19:39:52 +0200 Subject: [PATCH 3/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bdd9a8fd..3e1bffc9 100644 --- a/README.md +++ b/README.md @@ -321,7 +321,7 @@ Below are some [benchmarks](https://github.com/gabime/spdlog/blob/v1.x/bench/ben [info] daily_st Elapsed: 0.42 secs 2,393,298/sec [info] null_st Elapsed: 0.04 secs 27,446,957/sec [info] ************************************************************** -[info] 10 threads sharing same logger, 1,000,000 iterations +[info] 10 threads ompeting over the same logger, 1,000,000 iterations [info] ************************************************************** [info] basic_mt Elapsed: 0.60 secs 1,659,613/sec [info] rotating_mt Elapsed: 0.62 secs 1,612,493/sec From ac95c3ffbfec6493396297fa2adb149739c31508 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 22 Dec 2019 19:40:50 +0200 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e1bffc9..887cc8cd 100644 --- a/README.md +++ b/README.md @@ -321,7 +321,7 @@ Below are some [benchmarks](https://github.com/gabime/spdlog/blob/v1.x/bench/ben [info] daily_st Elapsed: 0.42 secs 2,393,298/sec [info] null_st Elapsed: 0.04 secs 27,446,957/sec [info] ************************************************************** -[info] 10 threads ompeting over the same logger, 1,000,000 iterations +[info] 10 threads, competing over the same logger object, 1,000,000 iterations [info] ************************************************************** [info] basic_mt Elapsed: 0.60 secs 1,659,613/sec [info] rotating_mt Elapsed: 0.62 secs 1,612,493/sec From 9caaca742e79947b00fb95e4825faa30caf76d56 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 22 Dec 2019 19:42:08 +0200 Subject: [PATCH 5/6] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 887cc8cd..f425fe14 100644 --- a/README.md +++ b/README.md @@ -335,7 +335,6 @@ Below are some [benchmarks](https://github.com/gabime/spdlog/blob/v1.x/bench/ben [info] Threads : 10 [info] Queue : 8,192 slots [info] Queue memory : 8,192 x 272 = 2,176 KB -[info] Total iters : 3 [info] ------------------------------------------------- [info] [info] ********************************* From 09d729bfba15d2d7e6e861fcbb484f3de0b93e87 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 22 Dec 2019 19:46:56 +0200 Subject: [PATCH 6/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f425fe14..a2f79bea 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ spdlog::dump_backtrace(); // log them now! show the last 32 messages #### Periodic flush ```c++ // periodically flush all *registered* loggers every 3 seconds: -// warning: only use if all your loggers are thread safe! +// warning: only use if all your loggers are thread safe ("_mt" loggers) spdlog::flush_every(std::chrono::seconds(3)); ```