Object to handle error logging.
More...
#include <ctre/phoenix/CTRLogger.h>
|
static void | Close () |
| Close the logger.
|
|
static ErrorCode | Log (ErrorCode code, const char *dev, const char *func) |
| Logs an entry into the Phoenix DS Error/Logger stream.
|
|
static void | Open (int language) |
| Open the logger.
|
|
Object to handle error logging.
◆ Close()
static void ctre::phoenix::CTRLogger::Close |
( |
| ) |
|
|
static |
◆ Log()
static ErrorCode ctre::phoenix::CTRLogger::Log |
( |
ErrorCode | code, |
|
|
const char * | dev, |
|
|
const char * | func ) |
|
static |
Logs an entry into the Phoenix DS Error/Logger stream.
- Parameters
-
code | Error code to log. If OKAY is passed, no action is taken. |
origin | Origin string to send to DS/Log |
- Returns
- OKAY error code.
◆ Open()
static void ctre::phoenix::CTRLogger::Open |
( |
int | language | ) |
|
|
static |
Open the logger.
- Parameters
-
language | the language you're using |
The documentation for this class was generated from the following file: