mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-15 09:17:57 +00:00
Compare commits
8 Commits
e06d21a4c0
...
7560cacb3f
Author | SHA1 | Date | |
---|---|---|---|
|
7560cacb3f | ||
|
3cd9bcdab9 | ||
|
32f1efdc99 | ||
|
bcc9f03457 | ||
|
4c845bf02b | ||
|
c727864393 | ||
|
4548573a75 | ||
|
385246730d |
@ -5,7 +5,7 @@
|
||||
sudo: required
|
||||
language: cpp
|
||||
|
||||
# gcc 4.8
|
||||
# gcc t
|
||||
addons: &gcc48
|
||||
apt:
|
||||
packages:
|
||||
@ -52,7 +52,7 @@ matrix:
|
||||
- env: GCC_VERSION=4.8 BUILD_TYPE=Release CPP=11
|
||||
os: linux
|
||||
addons: *gcc48
|
||||
|
||||
# Test gcc-7: C++11, Build=Debug/Release
|
||||
- env: GCC_VERSION=7 BUILD_TYPE=Release CPP=11
|
||||
os: linux
|
||||
addons: *gcc7
|
||||
@ -81,7 +81,7 @@ matrix:
|
||||
dist: bionic
|
||||
addons: *clang10
|
||||
|
||||
# Test clang-10.0: C++11, Build=Debug/Release
|
||||
# Test clang-10.0: C++17, Build=Debug/Release
|
||||
- env: CLANG_VERSION=10 BUILD_TYPE=Release CPP=17 ASAN=Off
|
||||
os: linux
|
||||
dist: bionic
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <spdlog/details/null_mutex.h>
|
||||
#include <spdlog/details/log_msg.h>
|
||||
|
||||
#include <iterator>
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
#include <chrono>
|
||||
@ -63,7 +64,7 @@ protected:
|
||||
if (skip_counter_ > 0)
|
||||
{
|
||||
memory_buf_t buf;
|
||||
fmt::format_to(std::back_inserter(buf), "Skipped {} duplicate messages..", skip_counter_);
|
||||
fmt::format_to(buf, "Skipped {} duplicate messages..", skip_counter_);
|
||||
details::log_msg skipped_msg{msg.logger_name, level::info, string_view_t{buf.data(), buf.size()}};
|
||||
dist_sink<Mutex>::sink_it_(skipped_msg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user