This commit is contained in:
gabime
2014-10-19 18:11:16 +03:00
parent ca1286e764
commit e76a365bf1
5 changed files with 6 additions and 7 deletions

View File

@@ -17,8 +17,8 @@ int main(int argc, char* argv[])
{
const unsigned int howmany = argc <= 1 ? 500000 : atoi(argv[1]);
//std::string pattern = "%B %d, %Y %H:%M:%S.%e **************[%n:%l] %t";
std::string pattern = " [%z] %t";
std::string pattern = "%z %B %d, %Y %H:%M:%S.%e **************[%n:%l] %t";
//std::string pattern = " [%z] %t";
auto formatter = std::make_shared<details::pattern_formatter>(pattern);
logger cout_logger("bench", { std::make_shared<sinks::stderr_sink_mt>() });