Permalink
Browse files

Have scalalogging-slf4j Logging and StrictLogging also extend Abstrac…

…tLogging (finally closes #24)
  • Loading branch information...
1 parent c60b2ad commit 2d73d1014784d8191a7378374f2b95de6643a680 Heiko Seeberger committed Jun 3, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 scalalogging-slf4j/src/main/scala/com/typesafe/scalalogging/slf4j/Logging.scala
@@ -36,7 +36,7 @@ trait AbstractLogging {
*
* @define Logger com.typesafe.scalalogging.slf4j.Logger
*/
-trait Logging {
+trait Logging extends AbstractLogging {
protected lazy val logger: Logger =
Logger(LoggerFactory getLogger getClass.getName)
@@ -50,7 +50,7 @@ trait Logging {
*
* @define Logger com.typesafe.scalalogging.slf4j.Logger
*/
-trait StrictLogging {
+trait StrictLogging extends AbstractLogging {
protected val logger: Logger =
Logger(LoggerFactory getLogger getClass.getName)

0 comments on commit 2d73d10

Please sign in to comment.