RTI Cloud Discovery Service Version 7.3.0
|
The singleton type used to configure RTI Cloud Discovery Service verbosity. More...
#include <Logger.hpp>
Public Member Functions | |
void | service_verbosity (rti::config::Verbosity verbosity) |
Sets the verbosity for the log messages generated at the RTI Cloud Discovery Service level. More... | |
rti::config::Verbosity | service_verbosity () |
Getter for the same attribute. More... | |
void | error (const std::string &msg) |
Logs a 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 a 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... | |
The singleton type used to configure RTI Cloud Discovery Service verbosity.
For configuring other aspects such as output file, print format or RTI Connext specific logging, use rti::config::Logger.
|
inline |
Sets the verbosity for the log messages generated at the RTI Cloud Discovery Service level.
verbosity | <<in>> The verbosity of the service logs |
|
inline |
Getter for the same attribute.
|
inline |
Logs a 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 |
References error().
Referenced by error().
|
inline |
Overload of error(const std::string& msg)
|
inline |
Logs as message with WARNING level.
This operation behaves similar to error() except the log level is WARNING.
[in] | msg | Message to be logged |
References warn().
Referenced by rti::cds::Service::finalize_globals(), and warn().
|
inline |
Overload of warn(const std::string& msg)
|
inline |
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 |
References local().
Referenced by local().
|
inline |
Overload of local(const std::string& msg)
|
inline |
Logs a message with WARNING level.
This operation behaves similar to error() except the log level is STATUS_REMOTE.
[in] | msg | Message to be logged |
References remote().
Referenced by remote().
|
inline |
Overload of remote(const std::string& msg)
|
inline |
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 |
References debug().
Referenced by debug().
|
inline |
Overload of debug(const std::string& msg)