1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-03-15 10:39:53 +08:00

code formatting (astyle and dos2unix)

it aims to solve the issue #467
This commit is contained in:
Alexei Pastuchov 2017-06-29 09:51:44 +02:00
parent 9a04e37275
commit 8fd16fc45e
12 changed files with 45 additions and 44 deletions

View File

@ -495,7 +495,7 @@ class full_formatter SPDLOG_FINAL:public flag_formatter
// pattern_formatter inline impl
///////////////////////////////////////////////////////////////////////////////
inline spdlog::pattern_formatter::pattern_formatter(const std::string& pattern, pattern_time_type pattern_time)
: _pattern_time(pattern_time)
: _pattern_time(pattern_time)
{
compile_pattern(pattern);
}

View File

@ -42,7 +42,8 @@ public:
_flush();
}
void set_color(level::level_enum color_level, const std::string& color) {
void set_color(level::level_enum color_level, const std::string& color)
{
std::lock_guard<Mutex> lock(base_sink<Mutex>::_mutex);
colors_[color_level] = color;
}