Added default pattern support for pattern_formatter to avoid parsing pattern when using default pattern

This commit is contained in:
gabime
2018-11-11 01:18:57 +02:00
parent 7d7ccac416
commit dc166cad92
3 changed files with 14 additions and 2 deletions

View File

@@ -231,7 +231,7 @@ public:
private:
registry()
: formatter_(new pattern_formatter("%+"))
: formatter_(new pattern_formatter())
{
#ifndef SPDLOG_DISABLE_DEFAULT_LOGGER