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

@@ -2,11 +2,11 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <iostream>
#include <fmt/core.h>
#include "hal/HAL.h"
int main() {
std::cout << "Hello World" << std::endl;
std::cout << HAL_GetRuntimeType() << std::endl;
fmt::print("Hello World\n");
fmt::print("{}\n", HAL_GetRuntimeType());
}