mirror of
https://github.com/vgough/encfs.git
synced 2025-01-07 22:48:57 +01:00
5f0806c5cc
git-vendor-name: easylogging git-vendor-dir: vendor/github.com/muflihun/easyloggingpp git-vendor-repository: https://github.com/muflihun/easyloggingpp git-vendor-ref: master
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();
|
|
}
|