encfs/vendor/github.com/muflihun/easyloggingpp/samples/STL/default-log-file-from-arg.cpp
Valient Gough 5f0806c5cc Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master"
git-vendor-name: easylogging
git-vendor-dir: vendor/github.com/muflihun/easyloggingpp
git-vendor-repository: https://github.com/muflihun/easyloggingpp
git-vendor-ref: master
2017-08-05 23:23:41 -07:00

21 lines
461 B
C++

//
// This file is part of Easylogging++ samples
// Default log file using '--default-log-file' arg
//
// Revision 1.0
// @author mkhan3189
//
#include "easylogging++.h"
INITIALIZE_EASYLOGGINGPP
int main(int argc, char** argv) {
START_EASYLOGGINGPP(argc, argv);
LOG(INFO) << "My log message - hopefully you have reconfigured log file by using"
<< " --default-log-file=blah.log and defined ELPP_NO_DEFAULT_LOG_FILE";
return 0;
}