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

Eradicated the last vestiges of printf from the library. String::formatted and String::printf are now gone - please use the << operators instead!

This commit is contained in:
Julian Storer 2010-03-11 14:33:40 +00:00
parent 4ed63991e2
commit e07c59c8f4
12 changed files with 250 additions and 374 deletions

View file

@ -71,13 +71,11 @@
#include "juce_IncludeBrowserPluginInfo.h"
#if JUCE_MAC && JUCE_DEBUG && 0
#include <fstream>
static void log (const String& s)
{
FILE* f = fopen ("/Users/jules/Desktop/log.txt", "a+");
fprintf (f, (const char*) s);
fprintf (f, "\n");
fflush (f);
fclose (f);
std::ofstream file ("/Users/jules/Desktop/log.txt", std::ios::out | std::ios::app);
file << s << std::endl;
}
#else
#define log(a)