Interface for a server that logs status messages.
More...
#include <LoggerInterfaces.h>
|
virtual bool | log (const std::string &key, const yarp::os::Value &data)=0 |
| Get a reference to log server data.
|
|
virtual bool | log (const yarp::os::Bottle &data)=0 |
| Log data to server.
|
|
Interface for a server that logs status messages.
Definition at line 107 of file LoggerInterfaces.h.
◆ log() [1/2]
virtual bool yarp::dev::IServerLogger::log |
( |
const std::string & |
key, |
|
|
const yarp::os::Value & |
data |
|
) |
| |
|
pure virtual |
Get a reference to log server data.
- Parameters
-
key | value identifier/address. |
- Returns
- pointer to a data access interface or NULL if key is not found. Log data to server.
- Parameters
-
key | value identifier/address |
data | |
- Returns
- true/false on success failure (failure is notified if the format of the message is unknown)
◆ log() [2/2]
virtual bool yarp::dev::IServerLogger::log |
( |
const yarp::os::Bottle & |
data | ) |
|
|
pure virtual |
Log data to server.
- Parameters
-
data | a bottle contains the data to log |
- Returns
- true/false on success failure (failure is notified if the format of the message is unknown)
The documentation for this class was generated from the following file: