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:
parent
4ed63991e2
commit
e07c59c8f4
12 changed files with 250 additions and 374 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue