1 Commits

Author SHA1 Message Date
Paolo Tosco
e9a33b0b23 Expose RDLog to SWIG wrappers (#5749)
* expose RDLog to SWIG wrappers

* - added a SetTee() overload that takes a filename as parameter to simplify redirecting from wrappers that do not have interface with C++ streams (e.g., Java and C#)
- replaced some duplicate code with ClearTee() calls
- replaced RDLogger std::shared_ptr with boost::shared_ptr to make it more easily available from SWIG wrappers
- exposed the RDLogger methods to SWIG wrappers
- added Java test for RDLogger

* this should fix the segfault

* avoid issues on case-insensitive platforms

* here's a solution keeping std:;shared_ptr

* change in response to review

---------

Co-authored-by: Tosco, Paolo <paolo.tosco@novartis.com>
2023-04-14 09:26:56 +02:00