FileLogger Location


#1

I have a minor enhancement request.

I noticed that the Mac code path in FileLogger::createDefaultAppLogger doesn’t use the logFileSubDirectoryName String. The logs are always created in “~/Library/Logs”. It would be cleaner if it would create them in “~/Library/Logs/”. This would be very useful when using the Console application.

From juce_FileLogger.cpp, line 136:
#if JUCE_MAC
File logFile ("~/Library/Logs");
logFile = logFile.getChildFile (logFileName);

#else

Thanks,
Eric


#2

Good idea, thanks!