Replace std::cout and std::cerr with fmt::print() (#3519)

This commit is contained in:
Tyler Veness
2021-08-19 20:31:14 -07:00
committed by GitHub
parent 10cc8b89c4
commit b903173211
14 changed files with 72 additions and 88 deletions

View File

@@ -4,7 +4,7 @@
#include "Robot.h"
#include <iostream>
#include <fmt/core.h>
#include <frc/smartdashboard/SmartDashboard.h>
@@ -39,7 +39,7 @@ void Robot::AutonomousInit() {
m_autoSelected = m_chooser.GetSelected();
// m_autoSelected = SmartDashboard::GetString("Auto Selector",
// kAutoNameDefault);
std::cout << "Auto selected: " << m_autoSelected << std::endl;
fmt::print("Auto selected: {}\n", m_autoSelected);
if (m_autoSelected == kAutoNameCustom) {
// Custom Auto goes here