Esempio n. 1
0
Debug &Debug::operator<<(unsigned int num) {
	_stream->msg += String::format("%d", num);
	return maybeSpace();
}
Esempio n. 2
0
Debug &Debug::operator<<(const String &str) {
	_stream->msg += str;
	return maybeSpace();
}
Esempio n. 3
0
Debug &Debug::operator<<(char str) {
	_stream->msg += str;
	return maybeSpace();
}
Esempio n. 4
0
Debug &Debug::operator<<(bool value) {
	_stream->msg += (value ? "true" : "false");
	return maybeSpace();
}
Esempio n. 5
0
Debug &Debug::operator<<(void *p) {
	_stream->msg += String::format("%p", p);
	return maybeSpace();
}
Esempio n. 6
0
 inline LoggerStream& operator<<(const char* s) { stream->ss << s; return maybeSpace(); }
Esempio n. 7
0
Debug &Debug::operator<<(float num) {
	_stream->msg += String::format("%g", num);
	return maybeSpace();
}
Esempio n. 8
0
 inline LoggerStream& operator<<(std::string s) { stream->ss << s; return maybeSpace(); }
Esempio n. 9
0
 inline LoggerStream& operator<<(double t) { stream->ss<< t; return maybeSpace(); }
Esempio n. 10
0
 inline LoggerStream& operator<<(long long t) { stream->ss<< t; return maybeSpace(); }
Esempio n. 11
0
 inline LoggerStream& operator<<(unsigned int t) { stream->ss<< t; return maybeSpace(); }
Esempio n. 12
0
 inline LoggerStream& operator<<(bool t) { stream->ss<<(t ? "true" : "false"); return maybeSpace(); }