1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00

Couple of optimisations to text rendering. Removed various printfs from the codebase.

This commit is contained in:
Julian Storer 2010-03-11 10:16:02 +00:00
parent 858a758aee
commit d84e47353c
22 changed files with 142 additions and 217 deletions

View file

@ -31,17 +31,7 @@
//==============================================================================
void Logger::outputDebugString (const String& text) throw()
{
fputs (text.toUTF8(), stdout);
fputs ("\n", stdout);
}
void Logger::outputDebugPrintf (const tchar* format, ...) throw()
{
String text;
va_list args;
va_start (args, format);
text.vprintf(format, args);
outputDebugString(text);
std::cerr << text << std::endl;
}
SystemStats::OperatingSystemType SystemStats::getOperatingSystemType() throw()