Log an debug msg that contains the result of the passed in func.
Log an debug msg that contains the result of the passed in func.
A string containing a single %s which will be replaced with the result of func.
The function returning a future whose result will be placed in msg.
Result of func
Log an debug msg that contains the result of the passed in func.
Log an debug msg that contains the result of the passed in func.
A string containing a single %s which will be replaced with the result of func.
The function whose result will be placed in msg.
Result of func
Log an error msg that contains the result of the passed in func.
Log an error msg that contains the result of the passed in func.
A string containing a single %s which will be replaced with the result of func.
The function whose result will be placed in msg.
Result of func
Log an info msg that contains the result of the passed in func.
Log an info msg that contains the result of the passed in func.
A string containing a single %s which will be replaced with the result of func.
The function whose result will be placed in msg.
Result of func
Log an warn msg that contains the result of the passed in func.
Log an warn msg that contains the result of the passed in func.
A string containing a single %s which will be replaced with the result of func.
The function whose result will be placed in msg.
Result of func
Mix this trait into a class/object to get helpful logging methods.
Note: This trait simply adds several methods to the grizzled.slf4j.Logging traits.
The methods below are used as so:
//Before def foo = { val result = 4 + 5 debugResult("Foo returned " + result) result }
//After def foo = { debugResult("Foo returned %s") { 4 + 5 } }