orocos-toolchain / ocl

Orocos Component Library
Other
16 stars 33 forks source link

OCL::logging::Category is not properly overridable #91

Open Hugal31 opened 3 years ago

Hugal31 commented 3 years ago

OCL::logging::Category offers to override log(RTT::rt_string const&), but it doesn't allow to override the other functions debug, info, etc...

In addition, debug, info, etc... doesn't use log, but directly _logUnconditonnaly2(RTT::rt_string const&), which is not overridable.

A quick way to allow one to override Category would be to make debug, info, etc... use log.