scribe.handler.SynchronousLogHandle.scala Maven / Gradle / Ivy
The 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