aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/pdsuicommon/logging/DefaultPhiLogger.scala
blob: 045f37aaf112bd74fb8ea000296c3f04b4a47a8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package xyz.driver.pdsuicommon.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)

}