mirror of
https://github.com/vgough/encfs.git
synced 2024-11-29 11:23:52 +01:00
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;
|
||
|
}
|