mirror of
https://github.com/gabime/spdlog.git
synced 2025-03-15 02:29:54 +08:00
format
This commit is contained in:
parent
28ef15d669
commit
15f3b0fea5
@ -33,7 +33,7 @@ public:
|
|||||||
void format(details::log_msg &msg) override;
|
void format(details::log_msg &msg) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const std::string eol_;
|
const std::string eol_;
|
||||||
const pattern_time_type pattern_time_;
|
const pattern_time_type pattern_time_;
|
||||||
std::vector<std::unique_ptr<details::flag_formatter>> formatters_;
|
std::vector<std::unique_ptr<details::flag_formatter>> formatters_;
|
||||||
std::tm get_time(details::log_msg &msg);
|
std::tm get_time(details::log_msg &msg);
|
||||||
|
@ -30,7 +30,6 @@ public:
|
|||||||
{
|
{
|
||||||
std::lock_guard<Mutex> lock(mutex_);
|
std::lock_guard<Mutex> lock(mutex_);
|
||||||
sink_it_(msg);
|
sink_it_(msg);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void flush() SPDLOG_FINAL override
|
void flush() SPDLOG_FINAL override
|
||||||
|
Loading…
Reference in New Issue
Block a user