silverstripe/sapphire — pull request #184 by chillu (2012-02-06 22:42:51+00:00)
Title: SS_Log: String args, extra data logging, "in line of..." formatting

Allowing string args in SS_Log::log() is essential, the whole API is kind of useless with out (unless we want to limit it to the way its used in Dawn ...). I'm getting the stacktrace manually in this case. Not the fastest of course, but then again we're emailing those errors so a high frequency isn't expected/supported anyway.

Technically, changing the email and backtrace format is an API change in case somebody's relying on that for automated parsing. I've left the LogFileWriter alone for now, as its much more likely that automated parsing happens there.

Also checked the inline