12 Category::Category(
const std::string& name,
16 log_port( convertName(name) , false )
98 catch (std::bad_alloc& e)
128 std::string rc(name);
130 std::replace_if(rc.begin(),
132 std::bind2nd(std::equal_to<char>(),
'.'),
A mirror of log4cpp::LoggingEvent, except using real-time capable strings.
void fatal(const RTT::rt_string &message)
virtual void log(log4cpp::Priority::Value priority, const RTT::rt_string &message)
RTT::OutputPort< OCL::logging::LoggingEvent > log_port
void debug(const RTT::rt_string &message)
virtual Category * getParent()
std::basic_string< char, std::char_traits< char >, RTT::os::rt_allocator< char > > rt_string
static std::string convertName(const std::string &name)
void emerg(const RTT::rt_string &message)
void alert(const RTT::rt_string &message)
CategoryStream getRTStream(log4cpp::Priority::Value priority)
void info(const RTT::rt_string &message)
virtual const std::string & getName() const
static log4cpp::Category * createOCLCategory(const std::string &name, log4cpp::Category *parent, log4cpp::Priority::Value priority)
bool connectToLogPort(RTT::base::PortInterface &otherPort)
void warn(const RTT::rt_string &message)
void notice(const RTT::rt_string &message)
virtual bool getAdditivity() const
void crit(const RTT::rt_string &message)
virtual bool isPriorityEnabled(Priority::Value priority) const
void error(const RTT::rt_string &message)
virtual bool connectTo(PortInterface *other, ConnPolicy const &policy)=0
void _logUnconditionally2(log4cpp::Priority::Value priority, const RTT::rt_string &message)
virtual void callAppenders(const OCL::logging::LoggingEvent &event)