Easylogging++高性能c++日志庫(kù)
輕量級(jí)高性能c++日志庫(kù) (Single header only)
Easylogging++的優(yōu)勢(shì)是它的速度和簡(jiǎn)單。 它是輕量級(jí)的,健壯的,高性能,線程和類型安全的,它有許多內(nèi)置功能。它適合在中小型項(xiàng)目中使用,它提供了自定義日志格式的能力,還提供對(duì)第三方庫(kù),STL容器的支持。
示例代碼:
#include "easylogging++.h"
_INITIALIZE_EASYLOGGINGPP
int main(int argv, const char** argc) {
LOG(INFO) << "Hello, world";
return 0;
}評(píng)論
圖片
表情
