mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
17 lines
325 B
C++
17 lines
325 B
C++
#include "g2logworker.h"
|
|
#include "g2log.h"
|
|
|
|
|
|
int main(int, char* argv[])
|
|
{
|
|
int howmany = 1000000;
|
|
|
|
g2LogWorker g2log(argv[0], "logs");
|
|
g2::initializeLogging(&g2log);
|
|
|
|
for(int i = 0 ; i < howmany; ++i)
|
|
LOG(INFO) << "g2log message # " << i << ": This is some text for your pleasure";
|
|
|
|
return 0;
|
|
}
|