21#ifndef LSH_CORE_UTIL_DEBUG_VA_PRINT_HPP
22#define LSH_CORE_UTIL_DEBUG_VA_PRINT_HPP
34void setPrec(uint8_t precisionToSet);
35void print(
const String &text);
36void print(
char character);
37void print(
char *text);
38void print(
const char *text);
39void print(
const __FlashStringHelper *text);
40void print(
float value);
41void print(
double value);
50template <
typename T>
static inline void print(T value)
52 CONFIG_DEBUG_SERIAL->print(value, base);
58template <
typename T,
typename... Rest>
static inline void print(T value, Rest... rest)
67template <
typename T,
typename... Rest> __attribute__((always_inline))
static inline void println(T value, Rest... rest)
Internal bridge that imports static profile resources into the library's scope.
uint8_t prec
Decimal precision passed to HardwareSerial::print() when printing floating-point debug values.
Definition va_print.cpp:30
void setPrec(uint8_t precisionToSet)
Set the decimal precision used for floating-point debug output.
Definition va_print.cpp:47
void print(const String &text)
Print an Arduino String without appending a newline.
Definition va_print.cpp:57
uint8_t base
Numeric base passed to HardwareSerial::print() when printing integral debug values.
Definition va_print.cpp:28
void setBase(uint8_t baseToSet)
Set the numeric base used for integral debug output.
Definition va_print.cpp:37
void println()
Print only a newline.
Definition va_print.cpp:125