RTI Recording Service
Version 6.1.1
|
The singleton type used to configure RTI Recording Service verbosity. More...
#include <Logger.hpp>
Public Member Functions | |
void | error (const std::string &msg) |
Logs as message with EXCEPTION level. More... | |
void | error (const char *msg) |
overload of error(const std::string& msg) More... | |
void | warn (const std::string &msg) |
Logs as message with WARNING level. More... | |
void | warn (const char *msg) |
overload of warn(const std::string& msg) More... | |
void | local (const std::string &msg) |
Logs as message with WARNING level. More... | |
void | local (const char *msg) |
overload of local(const std::string& msg) More... | |
void | remote (const std::string &msg) |
Logs as message with WARNING level. More... | |
void | remote (const char *msg) |
overload of remote(const std::string& msg) More... | |
void | debug (const std::string &msg) |
Logs as message with WARNING level. More... | |
void | debug (const char *msg) |
overload of debug(const std::string& msg) More... | |
void | service_verbosity (rti::config::Verbosity verbosity) |
Sets the verbosity for the log messages generated at the RTI Recording Service level. More... | |
rti::config::Verbosity | service_verbosity () |
Getter for the same attribute. More... | |
void | verbosity (rti::config::Verbosity verbosity) |
rti::config::Verbosity | verbosity () |
The singleton type used to configure RTI Recording Service verbosity.
For configuring other aspects such as output file, print format or RTI Connext specific logging, use rti::config::Logger.
void rti::recording::Logger::error | ( | const std::string & | msg | ) |
Logs as message with EXCEPTION level.
The generated log will be part of logging stream of the running service if the service verbosity contains EXCEPTION messages. The result log message may include additional information according to the Connext logging configuration, such as Advlog Context, thread ID, line number, etc. Additionally, the result log message will contain a newline character at the end, so the format does not need to contain it.
[in] | msg | Message to be logged |
void rti::recording::Logger::error | ( | const char * | msg | ) |
overload of error(const std::string& msg)
void rti::recording::Logger::warn | ( | const std::string & | msg | ) |
Logs as message with WARNING level.
This operation behaves similar to error() except the log level is WARNING.
[in] | msg | Message to be logged |
void rti::recording::Logger::warn | ( | const char * | msg | ) |
overload of warn(const std::string& msg)
void rti::recording::Logger::local | ( | const std::string & | msg | ) |
Logs as message with WARNING level.
This operation behaves similar to error() except the log level is STATUS_LOCAL.
[in] | msg | Message to be logged |
void rti::recording::Logger::local | ( | const char * | msg | ) |
overload of local(const std::string& msg)
void rti::recording::Logger::remote | ( | const std::string & | msg | ) |
Logs as message with WARNING level.
This operation behaves similar to error() except the log level is STATUS_REMOTE.
[in] | msg | Message to be logged |
void rti::recording::Logger::remote | ( | const char * | msg | ) |
overload of remote(const std::string& msg)
void rti::recording::Logger::debug | ( | const std::string & | msg | ) |
Logs as message with WARNING level.
This operation behaves similar to error() except the log level is STATUS_DEBUG.
[in] | msg | Message to be logged |
void rti::recording::Logger::debug | ( | const char * | msg | ) |
overload of debug(const std::string& msg)
void rti::recording::Logger::service_verbosity | ( | rti::config::Verbosity | verbosity | ) |
Sets the verbosity for the log messages generated at the RTI Recording Service level.
[in] | verbosity | The verbosity of the service logs |
rti::config::Verbosity rti::recording::Logger::service_verbosity | ( | ) |
Getter for the same attribute.
void rti::recording::Logger::verbosity | ( | rti::config::Verbosity | verbosity | ) |
[DEPRECATED]
rti::config::Verbosity rti::recording::Logger::verbosity | ( | ) |
[DEPRECATED]