diff options
Diffstat (limited to 'include/comphelper/logging.hxx')
-rw-r--r-- | include/comphelper/logging.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/comphelper/logging.hxx b/include/comphelper/logging.hxx index 475f067062bf..8c1ddbd7fec0 100644 --- a/include/comphelper/logging.hxx +++ b/include/comphelper/logging.hxx @@ -26,6 +26,8 @@ #include <boost/optional.hpp> #include <memory> +#include <com/sun/star/logging/XLogger.hpp> + namespace com { namespace sun { namespace star { namespace uno { template <class interface_type> class Reference; } } } } namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } @@ -123,6 +125,8 @@ namespace comphelper impl_log(_nLogLevel, nullptr, nullptr, rMessage); } + const css::uno::Reference<css::logging::XLogger> getLogger(); + /** logs a given message, replacing a placeholder in the message with an argument The function takes, additionally to the log level and the message, an arbitrary |