#include <logging.h>
◆ Logging()
Logging::Logging |
( |
bool |
logging_status | ) |
|
Construct a new Logging object, initializes the serial connection.
◆ ~Logging()
◆ GetLoggingStatus()
bool Logging::GetLoggingStatus |
( |
| ) |
|
Get the Logging Status object.
- Returns
- bool: logging_status_
◆ Log() [1/2]
For now, the function will just print a message on serial, it can be over wifi or just hardware serial.
- Parameters
-
- Returns
- true : if the print is successful
-
false : otherwise
◆ Log() [2/2]
For now, the function will just print a message on serial, it can be over wifi or just hardware serial.
- Parameters
-
- Returns
- true : if the print is successful
-
false : otherwise
◆ SetLoggingStatus()
void Logging::SetLoggingStatus |
( |
bool |
status | ) |
|
This function enables or disables logging true: logging enabled false: logging disabled.
◆ logging_status_
bool Logging::logging_status_ |
|
private |
◆ status_mutex
std::mutex Logging::status_mutex |
|
private |
The documentation for this class was generated from the following files: