#include <yarp/logger/YarpLogger.h>
|
void | discover (std::list< std::string > &ports) |
|
void | connect (const std::list< std::string > &ports) |
|
| LoggerEngine (std::string portName) |
|
| ~LoggerEngine () |
|
bool | start_logging () |
|
bool | stop_logging () |
|
void | start_discover () |
|
void | stop_discover () |
|
bool | is_logging () |
|
bool | is_discovering () |
|
bool | clear () |
|
bool | save_all_logs_to_file (std::string filename) |
|
bool | load_all_logs_from_file (std::string filename) |
|
bool | export_log_to_text_file (std::string filename, std::string portname) |
|
int | get_num_of_processes () |
|
void | get_infos (std::list< LogEntryInfo > &infos) |
|
void | get_messages (std::list< MessageEntry > &messages) |
|
void | get_messages_by_port_prefix (std::string port, std::list< MessageEntry > &messages, bool from_beginning=false) |
|
void | get_messages_by_port_complete (std::string port, std::list< MessageEntry > &messages, bool from_beginning=false) |
|
void | get_messages_by_process (std::string process, std::list< MessageEntry > &messages, bool from_beginning=false) |
|
void | get_messages_by_pid (std::string pid, std::list< MessageEntry > &messages, bool from_beginning=false) |
|
void | clear_messages_by_port_complete (std::string port) |
|
void | set_log_enable_by_port_complete (std::string port, bool enable) |
|
bool | get_log_enable_by_port_complete (std::string port) |
|
void | set_listen_option (LogLevel logLevel, bool enable) |
|
void | set_listen_option (std::string option, bool enable) |
|
void | set_listen_option (LogSystemEnum logSystem, bool enable) |
|
bool | get_listen_option (LogLevel logLevel) |
|
bool | get_listen_option (std::string option) |
|
bool | get_listen_option (LogSystemEnum logSystem) |
|
void | set_log_lines_max_size (bool enabled, int new_size) |
|
void | set_log_list_max_size (bool enabled, int new_size) |
|
void | get_log_lines_max_size (bool &enabled, int ¤t_size) |
|
void | get_log_list_max_size (bool &enabled, int ¤t_size) |
|
std::list< MessageEntry > | filter_by_level (int level, const std::list< MessageEntry > &messages) |
|
Definition at line 208 of file YarpLogger.h.
◆ LoggerEngine()
LoggerEngine::LoggerEngine |
( |
std::string |
portName | ) |
|
◆ ~LoggerEngine()
LoggerEngine::~LoggerEngine |
( |
| ) |
|
◆ clear()
bool LoggerEngine::clear |
( |
| ) |
|
◆ clear_messages_by_port_complete()
void LoggerEngine::clear_messages_by_port_complete |
( |
std::string |
port | ) |
|
◆ connect()
void LoggerEngine::connect |
( |
const std::list< std::string > & |
ports | ) |
|
◆ discover()
void LoggerEngine::discover |
( |
std::list< std::string > & |
ports | ) |
|
◆ export_log_to_text_file()
bool LoggerEngine::export_log_to_text_file |
( |
std::string |
filename, |
|
|
std::string |
portname |
|
) |
| |
◆ filter_by_level()
std::list<MessageEntry> yarp::yarpLogger::LoggerEngine::filter_by_level |
( |
int |
level, |
|
|
const std::list< MessageEntry > & |
messages |
|
) |
| |
◆ get_infos()
void LoggerEngine::get_infos |
( |
std::list< LogEntryInfo > & |
infos | ) |
|
◆ get_listen_option() [1/3]
bool LoggerEngine::get_listen_option |
( |
LogLevel |
logLevel | ) |
|
◆ get_listen_option() [2/3]
◆ get_listen_option() [3/3]
bool LoggerEngine::get_listen_option |
( |
std::string |
option | ) |
|
◆ get_log_enable_by_port_complete()
bool LoggerEngine::get_log_enable_by_port_complete |
( |
std::string |
port | ) |
|
◆ get_log_lines_max_size()
void LoggerEngine::get_log_lines_max_size |
( |
bool & |
enabled, |
|
|
int & |
current_size |
|
) |
| |
◆ get_log_list_max_size()
void LoggerEngine::get_log_list_max_size |
( |
bool & |
enabled, |
|
|
int & |
current_size |
|
) |
| |
◆ get_messages()
void LoggerEngine::get_messages |
( |
std::list< MessageEntry > & |
messages | ) |
|
◆ get_messages_by_pid()
void LoggerEngine::get_messages_by_pid |
( |
std::string |
pid, |
|
|
std::list< MessageEntry > & |
messages, |
|
|
bool |
from_beginning = false |
|
) |
| |
◆ get_messages_by_port_complete()
void LoggerEngine::get_messages_by_port_complete |
( |
std::string |
port, |
|
|
std::list< MessageEntry > & |
messages, |
|
|
bool |
from_beginning = false |
|
) |
| |
◆ get_messages_by_port_prefix()
void LoggerEngine::get_messages_by_port_prefix |
( |
std::string |
port, |
|
|
std::list< MessageEntry > & |
messages, |
|
|
bool |
from_beginning = false |
|
) |
| |
◆ get_messages_by_process()
void LoggerEngine::get_messages_by_process |
( |
std::string |
process, |
|
|
std::list< MessageEntry > & |
messages, |
|
|
bool |
from_beginning = false |
|
) |
| |
◆ get_num_of_processes()
int LoggerEngine::get_num_of_processes |
( |
| ) |
|
◆ is_discovering()
bool yarp::yarpLogger::LoggerEngine::is_discovering |
( |
| ) |
|
|
inline |
◆ is_logging()
bool yarp::yarpLogger::LoggerEngine::is_logging |
( |
| ) |
|
|
inline |
◆ load_all_logs_from_file()
bool LoggerEngine::load_all_logs_from_file |
( |
std::string |
filename | ) |
|
◆ save_all_logs_to_file()
bool LoggerEngine::save_all_logs_to_file |
( |
std::string |
filename | ) |
|
◆ set_listen_option() [1/3]
void LoggerEngine::set_listen_option |
( |
LogLevel |
logLevel, |
|
|
bool |
enable |
|
) |
| |
◆ set_listen_option() [2/3]
void LoggerEngine::set_listen_option |
( |
LogSystemEnum |
logSystem, |
|
|
bool |
enable |
|
) |
| |
◆ set_listen_option() [3/3]
void LoggerEngine::set_listen_option |
( |
std::string |
option, |
|
|
bool |
enable |
|
) |
| |
◆ set_log_enable_by_port_complete()
void LoggerEngine::set_log_enable_by_port_complete |
( |
std::string |
port, |
|
|
bool |
enable |
|
) |
| |
◆ set_log_lines_max_size()
void LoggerEngine::set_log_lines_max_size |
( |
bool |
enabled, |
|
|
int |
new_size |
|
) |
| |
◆ set_log_list_max_size()
void LoggerEngine::set_log_list_max_size |
( |
bool |
enabled, |
|
|
int |
new_size |
|
) |
| |
◆ start_discover()
void LoggerEngine::start_discover |
( |
| ) |
|
◆ start_logging()
bool LoggerEngine::start_logging |
( |
| ) |
|
◆ stop_discover()
void LoggerEngine::stop_discover |
( |
| ) |
|
◆ stop_logging()
bool LoggerEngine::stop_logging |
( |
| ) |
|
The documentation for this class was generated from the following files: