We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a04052 commit 93b9ec8Copy full SHA for 93b9ec8
2 files changed
include/Printer.h
@@ -46,6 +46,7 @@ namespace Printer
46
void println(const String &str);
47
48
// Utility functions
49
+ void printError(const String &error);
50
void printChrono(Chrono chrono);
51
52
/**
src/Printer.cpp
@@ -220,6 +220,13 @@ Format Specifier
220
println();
221
}
222
223
+ void printError(const String &error)
224
+ {
225
+ println("!!!---------- ERROR ----------!!!");
226
+ println(error);
227
228
+ }
229
+
230
void printChrono(Chrono chrono)
231
{
232
println("Chrono ["+chrono.name+"]: " + String(chrono.elapsedTime) + " µs");
0 commit comments