libmoost
|
Classes | |
class | impl |
Public Member Functions | |
log4cxx_appender (stream_writer_ptr sw, log4cxx::LevelPtr &level) | |
virtual bool | handle_command (std::string &rv, const std::string &cmd, const std::string &args) |
virtual std::string | show_help () const |
virtual bool | attach () |
virtual bool | detach () |
Private Member Functions | |
bool | string_to_level (const std::string &level, log4cxx::LevelPtr &new_level) const |
std::string | level_to_string (const log4cxx::LevelPtr &level) const |
std::string | get_appender_level (log4cxx::AppenderSkeleton *skel) const |
std::string | get_logger_level (const log4cxx::Logger *logger) const |
bool | log_level (std::string &rv, const std::string &args) |
bool | log_pattern (std::string &rv, const std::string &args) |
void | set_conversion_pattern (const std::string &pattern) |
std::string | get_conversion_pattern () const |
Private Attributes | |
log4cxx::helpers::ObjectPtrT < impl > | m_app |
log4cxx::helpers::ObjectPtrT < log4cxx::PatternLayout > | m_layout |
Definition at line 92 of file appender.cpp.
log4cxx_appender::log4cxx_appender | ( | stream_writer_ptr | sw, |
log4cxx::LevelPtr & | level | ||
) | [inline] |
virtual bool log4cxx_appender::attach | ( | ) | [inline, virtual] |
Implements moost::service::appender_iface.
Definition at line 169 of file appender.cpp.
virtual bool log4cxx_appender::detach | ( | ) | [inline, virtual] |
Implements moost::service::appender_iface.
Definition at line 175 of file appender.cpp.
std::string log4cxx_appender::get_appender_level | ( | log4cxx::AppenderSkeleton * | skel | ) | const [inline, private] |
Definition at line 202 of file appender.cpp.
std::string log4cxx_appender::get_conversion_pattern | ( | ) | const [inline, private] |
Definition at line 334 of file appender.cpp.
std::string log4cxx_appender::get_logger_level | ( | const log4cxx::Logger * | logger | ) | const [inline, private] |
Definition at line 207 of file appender.cpp.
virtual bool log4cxx_appender::handle_command | ( | std::string & | rv, |
const std::string & | cmd, | ||
const std::string & | args | ||
) | [inline, virtual] |
Implements moost::service::appender_iface.
Definition at line 136 of file appender.cpp.
std::string log4cxx_appender::level_to_string | ( | const log4cxx::LevelPtr & | level | ) | const [inline, private] |
Definition at line 189 of file appender.cpp.
bool log4cxx_appender::log_level | ( | std::string & | rv, |
const std::string & | args | ||
) | [inline, private] |
Definition at line 212 of file appender.cpp.
bool log4cxx_appender::log_pattern | ( | std::string & | rv, |
const std::string & | args | ||
) | [inline, private] |
Definition at line 315 of file appender.cpp.
void log4cxx_appender::set_conversion_pattern | ( | const std::string & | pattern | ) | [inline, private] |
Definition at line 327 of file appender.cpp.
virtual std::string log4cxx_appender::show_help | ( | ) | const [inline, virtual] |
Implements moost::service::appender_iface.
Definition at line 154 of file appender.cpp.
bool log4cxx_appender::string_to_level | ( | const std::string & | level, |
log4cxx::LevelPtr & | new_level | ||
) | const [inline, private] |
Definition at line 182 of file appender.cpp.
log4cxx::helpers::ObjectPtrT<impl> log4cxx_appender::m_app [private] |
Definition at line 341 of file appender.cpp.
log4cxx::helpers::ObjectPtrT<log4cxx::PatternLayout> log4cxx_appender::m_layout [private] |
Definition at line 342 of file appender.cpp.