mirror of
https://github.com/vgough/encfs.git
synced 2025-02-01 02:19:12 +01:00
21 lines
528 B
C++
21 lines
528 B
C++
|
#include "mainwindow.hh"
|
||
|
#include <QApplication>
|
||
|
#include "../../../src/easylogging++.h"
|
||
|
|
||
|
INITIALIZE_EASYLOGGINGPP
|
||
|
|
||
|
TIMED_SCOPE(app, "app");
|
||
|
|
||
|
int main(int argc, char *argv[])
|
||
|
{
|
||
|
START_EASYLOGGINGPP(argc, argv);
|
||
|
el::Loggers::reconfigureAllLoggers(el::ConfigurationType::Format, "%datetime{%H:%m:%s} [%level] %msg");
|
||
|
QApplication a(argc, argv);
|
||
|
MainWindow w;
|
||
|
w.show();
|
||
|
for (int i = 1; i <= 10; ++i) {
|
||
|
CLOG_EVERY_N(2, INFO, "default", "performance") << ELPP_COUNTER_POS;
|
||
|
}
|
||
|
return a.exec();
|
||
|
}
|