mirror of
https://github.com/vgough/encfs.git
synced 2024-12-22 06:30:48 +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
18 lines
493 B
C++
18 lines
493 B
C++
#include <mylib.hpp>
|
|
#include "easylogging++.h"
|
|
INITIALIZE_EASYLOGGINGPP
|
|
int main(int argc, char** argv) {
|
|
int result = 0;
|
|
LOG(INFO) << "Log from app";
|
|
//
|
|
// You can choose MyLib() constructor
|
|
// but be aware this will cause vlog to not work because Easylogging++
|
|
// does not know verbose logging level
|
|
//
|
|
// For your peace of mind, you may pass on const_cast<const char**>(argv) instead
|
|
//
|
|
MyLib lib(argc, argv);
|
|
lib.event(1);
|
|
return result;
|
|
}
|