Object to handle error logging.
More...
#include <ctre/phoenix/CTRLogger.h>
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: