apache / logging-log4cxx

Apache Log4cxx is a C++ port of Apache Log4j
http://logging.apache.org/log4cxx
Apache License 2.0
278 stars 123 forks source link

Reduce overhead of less commonly used logging macros #409

Closed swebb2066 closed 2 months ago

swebb2066 commented 2 months ago

This PR adds add{Fatal|Error|Warn}Event Logger methods.

The new methods avoid a shared_ptr reference count bump required by the Level::get{Fatal|Error|Warn} call.