mirror of
https://github.com/vgough/encfs.git
synced 2024-11-26 09:53:58 +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
25 lines
545 B
C++
25 lines
545 B
C++
//
|
|
// This file is part of Easylogging++ samples
|
|
//
|
|
// Very basic sample to configure using global configuration (el::Loggers::configureFromGlobal)
|
|
//
|
|
// Revision 1.1
|
|
// @author mkhan3189
|
|
//
|
|
|
|
#include "easylogging++.h"
|
|
|
|
INITIALIZE_EASYLOGGINGPP
|
|
|
|
int main(void) {
|
|
|
|
LOG(INFO) << "Info log before using global configuration";
|
|
|
|
el::Loggers::configureFromGlobal("../global.conf");
|
|
|
|
LOG(INFO) << "Info log AFTER using global configuration";
|
|
LOG(ERROR) << "Error log AFTER using global configuration";
|
|
|
|
return 0;
|
|
}
|