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