mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00

git-subtree-dir: thirdparty/spdlog git-subtree-split: 32177aa77a0a20453d3e7455cac42406fc49b6ca
22 lines
503 B
C++
22 lines
503 B
C++
//
|
|
// Copyright(c) 2015 Gabi Melman.
|
|
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
|
//
|
|
|
|
|
|
#include "easylogging++.h"
|
|
|
|
_INITIALIZE_EASYLOGGINGPP
|
|
|
|
int main(int, char* [])
|
|
{
|
|
int howmany = 1000000;
|
|
|
|
// Load configuration from file
|
|
el::Configurations conf("easyl.conf");
|
|
el::Loggers::reconfigureLogger("default", conf);
|
|
|
|
for(int i = 0 ; i < howmany; ++i)
|
|
LOG(INFO) << "easylog message #" << i << ": This is some text for your pleasure";
|
|
return 0;
|
|
}
|