mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
DEPRECATED: operator<< API
This commit is contained in:
@@ -15,6 +15,6 @@ int main(int, char* [])
|
||||
|
||||
logger->set_pattern("[%Y-%b-%d %T.%e]: %v");
|
||||
for(int i = 0 ; i < howmany; ++i)
|
||||
logger->info() << "spdlog message #" << i << ": This is some text for your pleasure";
|
||||
logger->info("spdlog message #{} : This is some text for your pleasure", i);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user