aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/common/logging/DefaultPhiLogger.scala
blob: ca25c44624f314b4747db880917135dc2a22be64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package xyz.driver.common.logging

import org.slf4j.{Logger => Underlying}

class DefaultPhiLogger private[logging](underlying: Underlying) extends PhiLogger {

  def error(message: PhiString): Unit = underlying.error(message.text)

  def warn(message: PhiString): Unit = underlying.warn(message.text)

  def info(message: PhiString): Unit = underlying.info(message.text)

  def debug(message: PhiString): Unit = underlying.debug(message.text)

  def trace(message: PhiString): Unit = underlying.trace(message.text)

}