2010-05-24 04:21:09 +08:00
|
|
|
package org.broadinstitute.sting.queue.util
|
|
|
|
|
|
|
|
|
|
import org.apache.log4j._
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A mixin to add logging to a class
|
|
|
|
|
*/
|
|
|
|
|
trait Logging {
|
2010-05-26 06:52:29 +08:00
|
|
|
private val className = this.getClass.getName
|
2010-08-10 00:42:48 +08:00
|
|
|
protected lazy val logger = Logger.getLogger(className)
|
2010-05-24 04:21:09 +08:00
|
|
|
}
|