title: How to log exception stacktrace into debug level?
body: <p>Here is a list of debug level functions that used in akka: </p>
  
  <pre><code>def debug(message : scala.Predef.String)
  def debug(template : scala.Predef.String, arg1 : scala.Any)
  def debug(template : scala.Predef.String, arg1 : scala.Any, arg2 : scala.Any)
  def debug(template : scala.Predef.String, arg1 : scala.Any, arg2 : scala.Any, arg3 : scala.Any)
  def debug(template : scala.Predef.String, arg1 : scala.Any, arg2 : scala.Any, arg3 : scala.Any, arg4 : scala.Any)
  </code></pre>
  
  <p>Here error level functions list:</p>
  
  <pre><code>def error(cause : scala.Throwable, message : scala.Predef.String)
  def error(cause : scala.Throwable, template : scala.Predef.String, arg1 : scala.Any)
  def error(cause : scala.Throwable, template : scala.Predef.String, arg1 : scala.Any, arg2 : scala.Any)
  def error(cause : scala.Throwable, template : scala.Predef.String, arg1 : scala.Any, arg2 : scala.Any, arg3 : scala.Any)
  def error(cause : scala.Throwable, template : scala.Predef.String, arg1 : scala.Any, arg2 : scala.Any, arg3 : scala.Any, arg4 : scala.Any)
  </code></pre>
  
  <p>Because code used in high load system I need to log exception stacktrace only at debug level. To log during debug level I have to write:</p>
  
  <pre><code>//some where in try catch block
  val log : akka.event.LoggingAdapter
  val e : Exception
  
  if (log.isDebugEnabled) {
      log.error(e, "Unexpected error")
  }
  </code></pre>
  
  <p>Is there better alternatives in akka except mixing levels?</p>