mirror of
https://github.com/vgough/encfs.git
synced 2024-11-30 03:43:31 +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
22 lines
555 B
C++
22 lines
555 B
C++
#define ELPP_STL_LOGGING
|
|
// #define ELPP_FEATURE_CRASH_LOG -- Stack trace not available for MinGW GCC
|
|
#define ELPP_PERFORMANCE_MICROSECONDS
|
|
#define ELPP_LOG_STD_ARRAY
|
|
#define ELPP_LOG_UNORDERED_MAP
|
|
#define ELPP_UNORDERED_SET
|
|
#include "easylogging++.h"
|
|
|
|
INITIALIZE_EASYLOGGINGPP
|
|
|
|
TIMED_SCOPE(appTimer, "myapplication");
|
|
|
|
|
|
int main(int argc, const char* argv[]) {
|
|
el::Loggers::removeFlag(el::LoggingFlag::AllowVerboseIfModuleNotSpecified);
|
|
|
|
TIMED_BLOCK(itr, "write-simple") {
|
|
LOG(INFO) << "Test " << __FILE__;
|
|
}
|
|
VLOG(3) << "Test";
|
|
}
|