Debug &Debug::operator<<(unsigned int num) { _stream->msg += String::format("%d", num); return maybeSpace(); }
Debug &Debug::operator<<(const String &str) { _stream->msg += str; return maybeSpace(); }
Debug &Debug::operator<<(char str) { _stream->msg += str; return maybeSpace(); }
Debug &Debug::operator<<(bool value) { _stream->msg += (value ? "true" : "false"); return maybeSpace(); }
Debug &Debug::operator<<(void *p) { _stream->msg += String::format("%p", p); return maybeSpace(); }
inline LoggerStream& operator<<(const char* s) { stream->ss << s; return maybeSpace(); }
Debug &Debug::operator<<(float num) { _stream->msg += String::format("%g", num); return maybeSpace(); }
inline LoggerStream& operator<<(std::string s) { stream->ss << s; return maybeSpace(); }
inline LoggerStream& operator<<(double t) { stream->ss<< t; return maybeSpace(); }
inline LoggerStream& operator<<(long long t) { stream->ss<< t; return maybeSpace(); }
inline LoggerStream& operator<<(unsigned int t) { stream->ss<< t; return maybeSpace(); }
inline LoggerStream& operator<<(bool t) { stream->ss<<(t ? "true" : "false"); return maybeSpace(); }