com.twitter
Mix this trait into a class/object to get helpful logging methods.
Note: This trait simply adds several methods to the com.twitter.util.logging.Logging trait.
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 } }
Mix this trait into a class/object to get helpful logging methods.
Note: This trait simply adds several methods to the com.twitter.util.logging.Logging trait.
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 } }