All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scribe.handler.SynchronousLogHandle.scala Maven / Gradle / Ivy

There is a newer version: 3.15.3
Show newest version
package scribe.handler

import scribe.LogRecord

object SynchronousLogHandle extends LogHandle {
  def log(handler: LogHandlerBuilder, record: LogRecord): Unit = {
    record.modify(handler.modifiers).foreach { r =>
      val logOutput = handler.formatter.format(r)
      handler.writer.write(record, logOutput, handler.outputFormat)
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy