encfs/vendor/github.com/muflihun/easyloggingpp/samples/STL/del-logger.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

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;
}