앱사용법

[Easylogging++] 사용법

Mesia 2018. 4. 25. 09:47

https://github.com/muflihun/easyloggingpp


Easylogging++ is single header efficient logging library for C++ applications. It is extremely powerful, highly extendable and configurable to user's requirements. It provides ability to write your own sinks (via featured referred as LogDispatchCallback). This library is currently used by hundreds of open-source projects on github and other open-source source control management sites.


---------------------------------------------

#include "easylogging++.h"


INITIALIZE_EASYLOGGINGPP


int main(int argc, char* argv[]) {

   LOG(INFO) << "My first info log using default logger";

   return 0;

}

---------------------------------------------