Syslog-like priority for Logger::writeToLog


I’ve gotten used to using syslog over the years and would like to see something similar in the juce::Logger class. Some indication of how serious the message is would be very helpful (especially for my child of Logger that calls syslog :)).

There don’t seem to be so many calls to writeToLog at the moment so maybe just adding an int priority argument to Logger::writeToLog and Logger:logMessage, with the corresponding changes to FileLogger is OK? Or maybe adding new methods with the same name and the int priority argument is a more gradual way to get there?

Then it’ll be time to sprinkle calls to writeToLog around :).

Thanks much.