CTRE Phoenix C++ 5.33.1
ctre::phoenix::CTRLogger Class Reference

Object to handle error logging. More...

#include <ctre/phoenix/CTRLogger.h>

Static Public Member Functions

static void Close ()
 Close the logger. More...
 
static ErrorCode Log (ErrorCode code, const char *dev, const char *func)
 Logs an entry into the Phoenix DS Error/Logger stream. More...
 
static void Open (int language)
 Open the logger. More...
 

Detailed Description

Object to handle error logging.

Member Function Documentation

◆ Close()

static void ctre::phoenix::CTRLogger::Close ( )
static

Close the logger.

◆ 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
codeError code to log. If OKAY is passed, no action is taken.
originOrigin string to send to DS/Log
Returns
OKAY error code.

◆ Open()

static void ctre::phoenix::CTRLogger::Open ( int  language)
static

Open the logger.

Parameters
languagethe language you're using

The documentation for this class was generated from the following file: