mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
gcc fix
This commit is contained in:
@@ -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>() });
|
||||
|
@@ -17,7 +17,7 @@ details::fast_oss f(const std::string& what)
|
||||
oss << what;
|
||||
return oss;
|
||||
}
|
||||
int main_(int, char* [])
|
||||
int main(int, char* [])
|
||||
{
|
||||
|
||||
auto foss = f("test2");
|
||||
|
Reference in New Issue
Block a user