easyloggingpp
easyloggingpp copied to clipboard
C++ logging library. It is extremely powerful, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own cus...
### This is a - [ ] Breaking change - [ ] New feature - [x] Bugfix
I'm trying to build librealsense and not use the version of easylogging inside their sources (v9.96.5) and use the version of my system (v9.97.0). However, when I built it, I...
Auto EOL
Is there an automatic way of processing long strings (containing EOL `'\n'`) to appear correctly-prefixed with the FORMAT prefix in the log? That is, when logging ```cpp std::string longone( "Results:...
## Issue The conan option "enable_default_logfile" behaves in a inverse way. The conanfile of the package version 9.97.0 handles the option as followed: ``` python if self.options.enable_default_logfile: self.cpp_info.defines.append("ELPP_NO_DEFAULT_LOG_FILE") ``` ##...
I am reading readme.md and found example at Occasional Logging > for (int i = 1; i LOG_EVERY_N(2, INFO) } > // 5 logs written; 2, 4, 6, **7**, 10...
I use the easylogging++ v9.96.7. My application is running as a service. My OS is Windows Server 2022. The macro **ELPP_THREAD_SAFE** is defined in Visual Studio 2019: _project settings ->...
The preprocessing flag `DEBUG` is commonly used for many codebases. Usually, people seeking to debug use `-DDEBUG` in the compiler flags to activate debugging. However, if you are using easylogging++,...
### This is a - [x] Bugfix ### I have - [x] [Run the tests](README.md#install-optional) After I updated easylogging from v9.96.7 to v9.97.0, this code: catch(std::exception & ex){ // Extremely...
Used the latest version. (gdb) bt #0 el::Logger::isFlushNeeded (level=-1224753952, this=0x55c0b5e24d00) at /usr/include/c++/8/bits/hashtable_policy.h:341 #1 el::base::DefaultLogDispatchCallback::dispatch (this=0x55c0b5e1e450, logLine=...) at xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/easylogging++.cc:2233 #2 0x000055c0a9b40950 in el::base::DefaultLogDispatchCallback::handle(el::LogDispatchData const*) () at xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/easylogging++.h:2167 #3 0x000055c0a9b40a85 in el::base::LogDispatcher::dispatch()...