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:
parent
858a758aee
commit
d84e47353c
22 changed files with 142 additions and 217 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue