ifw-rtmslib 1.0.0
 
Loading...
Searching...
No Matches
logger.hpp File Reference
#include <string>
#include <log4cplus/logger.h>
#include <log4cplus/loggingmacros.h>
#include <log4cplus/configurator.h>

Go to the source code of this file.

Namespaces

namespace  ifw
 
namespace  ifw::rtmslib
 Common utilities for RTMS Lib.
 

Functions

const std::string & ifw::rtmslib::LogPropertiesName (const std::string &log_properties={})
 Optionally override the log4cplus properties file location.
 
const std::string & ifw::rtmslib::AppLogName (const std::string &logger_name={})
 Optionally override the application logger name.
 
std::string ifw::rtmslib::FindFile (const std::string &resource_filename)
 
void ifw::rtmslib::ConfigureLogging ()
 Configure log4cplus once, honoring resource overrides.
 
log4cplus::Logger & ifw::rtmslib::Logger ()
 Retrieve the library logger (configured on first use).
 

Variables

constexpr auto ifw::rtmslib::LIB_RTMSLIB_LOGGER_NAME = "rtmslib"
 
constexpr auto ifw::rtmslib::RTMSLIB_LOG_PROPS = "config/ifw/rtmslib/log.properties"