Journal - Notes

1 Several c++ open source log programs

The following are several open source C++ logging programs:

  1. spdlog: A fast C++ logging library that supports multi-threaded and asynchronous logging, can output to console, file, Syslog, TCP Socket and UDP Socket, etc., and provides flexible log formatting options.

  2. glog: An efficient C++ logging library developed by Google, supports multi-threaded and asynchronous logging, can output to the console and files, and provides flexible log levels and formatting options.

  3. Poco Logging Framework: Poco is a lightweight C++ development library, which includes Logging Framework, supports multi-threaded and asynchronous logging, can output to console, file and Syslog, etc., and provides rich log levels and formatting options.

  4. Log4cxx: Apache Log4cxx is a C++ logging framework that supports multithreading and asynchronous logging, and can output to the console, files, and Syslog, etc. It provides rich log levels and formatting options, and supports flexible log filtering and grading mechanisms.

These log programs have different features and advantages, and can be selected and used according to actual needs.

2 What are some good open source projects for c++ logging? 

What are some good open source projects for c++ logging? - Know almost

Let me talk about the conclusion first: If the language is limited to C++, then

Guess you like

Origin blog.csdn.net/wishfly/article/details/129621565