32 jassert (currentLogger !=
this);
35Logger* Logger::currentLogger =
nullptr;
42 if (currentLogger !=
nullptr)
43 currentLogger->logMessage (message);
48#if JUCE_LOG_ASSERTIONS || JUCE_DEBUG
51 String m (
"JUCE Assertion failure in ");
54 #if JUCE_LOG_ASSERTIONS
Holds a resizable array of primitive or copy-by-value objects.
static File createFileWithoutCheckingPath(const String &absolutePath) noexcept
Creates a file that simply contains this string, without doing the sanity-checking that the normal co...
Acts as an application-wide logging class.
static void JUCE_CALLTYPE outputDebugString(const String &text)
Writes a message to the standard error stream.
virtual ~Logger()
Destructor.
static void JUCE_CALLTYPE writeToLog(const String &message)
Writes a string to the current logger.
static void JUCE_CALLTYPE setCurrentLogger(Logger *newLogger) noexcept
Sets the current logging class to use.
static Logger *JUCE_CALLTYPE getCurrentLogger() noexcept
Returns the current logger, or nullptr if no custom logger has been set.
#define JUCE_API
This macro is added to all JUCE public class declarations.