encfs/vendor/github.com/muflihun/easyloggingpp/samples/STL/del-logger.cpp

24 lines
494 B
C++
Raw Normal View History

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