-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Where this is transformed from this:
public trace(lazy Object value, Bool: newLine = true) {
if (loggingLevel >= TRACE) {
let content = formatContent(value.toString(), TRACE)
logMessage(getPrefix(TRACE) + content, "log", newLine)
}
}
to:
public trace(value() -> Object, Bool: newLine = true) {
let __value = null
if (loggingLevel >= TRACE) {
let content = formatContent((__value || value()).toString(), TRACE)
logMessage(getPrefix(TRACE) + content, "log", newLine)
}
}
and transforms call like this:
thing() {
log.trace("Checked \"#{location}\" against pattern #pattern: #matches")
}
to:
thing() {
log.trace({ "Checked \"#{location}\" against pattern #pattern: #matches" })
}