SubZero Common
Common library components for an FRC CommandRobot
Loading...
Searching...
No Matches
subzero::ShuffleboardLogger Class Reference

Outputs formatted information to SmartDashboard. More...

#include <ShuffleboardLogger.h>

+ Inheritance diagram for subzero::ShuffleboardLogger:
+ Collaboration diagram for subzero::ShuffleboardLogger:

Public Member Functions

void logVerbose (std::string key, const std::string format,...) override
 
void logInfo (std::string key, const std::string format,...) override
 
void logWarning (std::string key, const std::string format,...) override
 
void logError (std::string key, const std::string format,...) override
 
void logFatal (std::string key, const std::string format,...) override
 
void logInfo (std::string key, int val) override
 
void logVerbose (std::string key, int val) override
 
void logWarning (std::string key, int val) override
 
void logError (std::string key, int val) override
 
void logFatal (std::string key, int val) override
 
void logInfo (std::string key, double val) override
 
void logVerbose (std::string key, double val) override
 
void logWarning (std::string key, double val) override
 
void logError (std::string key, double val) override
 
void logFatal (std::string key, double val) override
 
void logInfo (std::string key, bool val) override
 
void logVerbose (std::string key, bool val) override
 
void logWarning (std::string key, bool val) override
 
void logError (std::string key, bool val) override
 
void logFatal (std::string key, bool val) override
 
void logInfo (std::string key, frc::Pose2d &val) override
 
void logVerbose (std::string key, frc::Pose2d &val) override
 
void logWarning (std::string key, frc::Pose2d &val) override
 
void logError (std::string key, frc::Pose2d &val) override
 
void logFatal (std::string key, frc::Pose2d &val) override
 
void logInfo (std::string key, wpi::Sendable *val) override
 
void logVerbose (std::string key, wpi::Sendable *val) override
 
void logWarning (std::string key, wpi::Sendable *val) override
 
void logError (std::string key, wpi::Sendable *val) override
 
void logFatal (std::string key, wpi::Sendable *val) override
 

Static Public Member Functions

static ShuffleboardLoggergetInstance ()
 

Detailed Description

Outputs formatted information to SmartDashboard.

Remarks
Singleton class

Definition at line 15 of file ShuffleboardLogger.h.

Member Function Documentation

◆ getInstance()

static ShuffleboardLogger & subzero::ShuffleboardLogger::getInstance ( )
inlinestatic

Definition at line 17 of file ShuffleboardLogger.h.

◆ logError() [1/6]

void subzero::ShuffleboardLogger::logError ( std::string key,
bool val )
overridevirtual

Implements subzero::ILogger.

◆ logError() [2/6]

void subzero::ShuffleboardLogger::logError ( std::string key,
const std::string format,
... )
overridevirtual

Implements subzero::ILogger.

◆ logError() [3/6]

void subzero::ShuffleboardLogger::logError ( std::string key,
double val )
overridevirtual

Implements subzero::ILogger.

◆ logError() [4/6]

void subzero::ShuffleboardLogger::logError ( std::string key,
frc::Pose2d & val )
overridevirtual

Implements subzero::ILogger.

◆ logError() [5/6]

void subzero::ShuffleboardLogger::logError ( std::string key,
int val )
overridevirtual

Implements subzero::ILogger.

◆ logError() [6/6]

void subzero::ShuffleboardLogger::logError ( std::string key,
wpi::Sendable * val )
overridevirtual

Implements subzero::ILogger.

◆ logFatal() [1/6]

void subzero::ShuffleboardLogger::logFatal ( std::string key,
bool val )
overridevirtual

Implements subzero::ILogger.

◆ logFatal() [2/6]

void subzero::ShuffleboardLogger::logFatal ( std::string key,
const std::string format,
... )
overridevirtual

Implements subzero::ILogger.

◆ logFatal() [3/6]

void subzero::ShuffleboardLogger::logFatal ( std::string key,
double val )
overridevirtual

Implements subzero::ILogger.

◆ logFatal() [4/6]

void subzero::ShuffleboardLogger::logFatal ( std::string key,
frc::Pose2d & val )
overridevirtual

Implements subzero::ILogger.

◆ logFatal() [5/6]

void subzero::ShuffleboardLogger::logFatal ( std::string key,
int val )
overridevirtual

Implements subzero::ILogger.

◆ logFatal() [6/6]

void subzero::ShuffleboardLogger::logFatal ( std::string key,
wpi::Sendable * val )
overridevirtual

Implements subzero::ILogger.

◆ logInfo() [1/6]

void subzero::ShuffleboardLogger::logInfo ( std::string key,
bool val )
overridevirtual

Implements subzero::ILogger.

◆ logInfo() [2/6]

void subzero::ShuffleboardLogger::logInfo ( std::string key,
const std::string format,
... )
overridevirtual

Implements subzero::ILogger.

◆ logInfo() [3/6]

void subzero::ShuffleboardLogger::logInfo ( std::string key,
double val )
overridevirtual

Implements subzero::ILogger.

◆ logInfo() [4/6]

void subzero::ShuffleboardLogger::logInfo ( std::string key,
frc::Pose2d & val )
overridevirtual

Implements subzero::ILogger.

◆ logInfo() [5/6]

void subzero::ShuffleboardLogger::logInfo ( std::string key,
int val )
overridevirtual

Implements subzero::ILogger.

◆ logInfo() [6/6]

void subzero::ShuffleboardLogger::logInfo ( std::string key,
wpi::Sendable * val )
overridevirtual

Implements subzero::ILogger.

◆ logVerbose() [1/6]

void subzero::ShuffleboardLogger::logVerbose ( std::string key,
bool val )
overridevirtual

Implements subzero::ILogger.

◆ logVerbose() [2/6]

void subzero::ShuffleboardLogger::logVerbose ( std::string key,
const std::string format,
... )
overridevirtual

Implements subzero::ILogger.

◆ logVerbose() [3/6]

void subzero::ShuffleboardLogger::logVerbose ( std::string key,
double val )
overridevirtual

Implements subzero::ILogger.

◆ logVerbose() [4/6]

void subzero::ShuffleboardLogger::logVerbose ( std::string key,
frc::Pose2d & val )
overridevirtual

Implements subzero::ILogger.

◆ logVerbose() [5/6]

void subzero::ShuffleboardLogger::logVerbose ( std::string key,
int val )
overridevirtual

Implements subzero::ILogger.

◆ logVerbose() [6/6]

void subzero::ShuffleboardLogger::logVerbose ( std::string key,
wpi::Sendable * val )
overridevirtual

Implements subzero::ILogger.

◆ logWarning() [1/6]

void subzero::ShuffleboardLogger::logWarning ( std::string key,
bool val )
overridevirtual

Implements subzero::ILogger.

◆ logWarning() [2/6]

void subzero::ShuffleboardLogger::logWarning ( std::string key,
const std::string format,
... )
overridevirtual

Implements subzero::ILogger.

◆ logWarning() [3/6]

void subzero::ShuffleboardLogger::logWarning ( std::string key,
double val )
overridevirtual

Implements subzero::ILogger.

◆ logWarning() [4/6]

void subzero::ShuffleboardLogger::logWarning ( std::string key,
frc::Pose2d & val )
overridevirtual

Implements subzero::ILogger.

◆ logWarning() [5/6]

void subzero::ShuffleboardLogger::logWarning ( std::string key,
int val )
overridevirtual

Implements subzero::ILogger.

◆ logWarning() [6/6]

void subzero::ShuffleboardLogger::logWarning ( std::string key,
wpi::Sendable * val )
overridevirtual

Implements subzero::ILogger.


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