mirror of
https://github.com/vgough/encfs.git
synced 2024-11-29 11:23:52 +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
24 lines
494 B
C++
24 lines
494 B
C++
//
|
|
// This file is part of Easylogging++ samples
|
|
// Sample to remove logger
|
|
//
|
|
// Revision 1.0
|
|
// @author mkhan3189
|
|
//
|
|
|
|
#include "easylogging++.h"
|
|
|
|
INITIALIZE_EASYLOGGINGPP
|
|
|
|
int main(void) {
|
|
|
|
LOG(INFO) << "My first ultimate log message";
|
|
CLOG(INFO, "test") << "Send me error";
|
|
el::Loggers::getLogger("test");
|
|
CLOG(INFO, "test") << "Write";
|
|
el::Loggers::unregisterLogger("test");
|
|
CLOG(INFO, "test") << "Send me error";
|
|
DLOG(INFO) << "Wow";
|
|
return 0;
|
|
}
|