|
uncarved-helpers
|
|
com/uncarved/helpers/CanLog.scala]
trait
CanLog
extends AnyRef
class MyClass extends CanLog {
def doSomething(temp: Int) = {
logger.debug("About to doSomething")
if(temp>100)
logger.warn("It's mighty hot! temp: " + temp)
logger.debug("Done with doSomething")
}
}
| Value Summary | |
lazy val
|
logger : org.apache.log4j.Logger |
val
|
loggerName : java.lang.String |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Value Details |
|
uncarved-helpers
|
|