#include <arpirobot/core/log/Logger.hpp>
|
static void | logDebug (std::string message) |
|
static void | logInfo (std::string message) |
|
static void | logWarning (std::string message) |
|
static void | logError (std::string message) |
|
static void | logDebugFrom (std::string source, std::string message) |
|
static void | logInfoFrom (std::string source, std::string message) |
|
static void | logWarningFrom (std::string source, std::string message) |
|
static void | logErrorFrom (std::string source, std::string message) |
|
static void | logNewline () |
|
Helper class with static methods for logging messages. Log messages will be printed to stdout and sent to a connected DS.
◆ logDebug()
static void arpirobot::Logger::logDebug |
( |
std::string |
message | ) |
|
|
static |
Log a debug message
- Parameters
-
message | The message to log |
◆ logDebugFrom()
static void arpirobot::Logger::logDebugFrom |
( |
std::string |
source, |
|
|
std::string |
message |
|
) |
| |
|
static |
Log a debug message from a specific source
- Parameters
-
source | The source of a message (often a device name) |
message | The messsage to log |
◆ logError()
static void arpirobot::Logger::logError |
( |
std::string |
message | ) |
|
|
static |
Log an error message
- Parameters
-
message | The message to log |
◆ logErrorFrom()
static void arpirobot::Logger::logErrorFrom |
( |
std::string |
source, |
|
|
std::string |
message |
|
) |
| |
|
static |
Log a error message from a specific source
- Parameters
-
source | The source of a message (often a device name) |
message | The messsage to log |
◆ logInfo()
static void arpirobot::Logger::logInfo |
( |
std::string |
message | ) |
|
|
static |
Log an info message
- Parameters
-
message | The message to log |
◆ logInfoFrom()
static void arpirobot::Logger::logInfoFrom |
( |
std::string |
source, |
|
|
std::string |
message |
|
) |
| |
|
static |
Log a info message from a specific source
- Parameters
-
source | The source of a message (often a device name) |
message | The messsage to log |
◆ logNewline()
static void arpirobot::Logger::logNewline |
( |
| ) |
|
|
static |
Add an empty line to the log
◆ logWarning()
static void arpirobot::Logger::logWarning |
( |
std::string |
message | ) |
|
|
static |
Log a warning message
- Parameters
-
message | The message to log |
◆ logWarningFrom()
static void arpirobot::Logger::logWarningFrom |
( |
std::string |
source, |
|
|
std::string |
message |
|
) |
| |
|
static |
Log a warning message from a specific source
- Parameters
-
source | The source of a message (often a device name) |
message | The messsage to log |
The documentation for this class was generated from the following file: