mirror of https://github.com/sbt/sbt.git
commit
15ea0109b8
|
|
@ -34,7 +34,7 @@ object BufferedAppender {
|
|||
* the level at the time 'play' is called.
|
||||
*/
|
||||
class BufferedAppender private[BufferedAppender] (name: String, delegate: Appender)
|
||||
extends AbstractAppender(name, null, PatternLayout.createDefaultLayout(), true) {
|
||||
extends AbstractAppender(name, null, PatternLayout.createDefaultLayout(), true, Array.empty) {
|
||||
|
||||
private[this] val buffer = new ListBuffer[XLogEvent]
|
||||
private[this] var recording = false
|
||||
|
|
|
|||
|
|
@ -333,7 +333,7 @@ class ConsoleAppender private[ConsoleAppender] (
|
|||
ansiCodesSupported: Boolean,
|
||||
useFormat: Boolean,
|
||||
suppressedMessage: SuppressedTraceContext => Option[String]
|
||||
) extends AbstractAppender(name, null, LogExchange.dummyLayout, true) {
|
||||
) extends AbstractAppender(name, null, LogExchange.dummyLayout, true, Array.empty) {
|
||||
import scala.Console.{ BLUE, GREEN, RED, YELLOW }
|
||||
|
||||
private val reset: String = {
|
||||
|
|
|
|||
|
|
@ -124,7 +124,8 @@ sealed abstract class LogExchange {
|
|||
// CustomConsoleAppenderImpl.createAppender("Stdout", layout, null, null)
|
||||
appender.start
|
||||
config.addAppender(appender)
|
||||
val asyncAppender: AsyncAppender = (AsyncAppender.newBuilder(): AsyncAppender.Builder)
|
||||
val asyncAppender: AsyncAppender = AsyncAppender
|
||||
.newBuilder()
|
||||
.setName("AsyncStdout")
|
||||
.setAppenderRefs(Array(AppenderRef.createAppenderRef("Stdout", XLevel.DEBUG, null)))
|
||||
.setBlocking(false)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import sbt.contraband.ContrabandPlugin.autoImport._
|
|||
object Dependencies {
|
||||
val scala210 = "2.10.7"
|
||||
val scala211 = "2.11.12"
|
||||
val scala212 = "2.12.7"
|
||||
val scala212 = "2.12.8"
|
||||
|
||||
private val ioVersion = "1.2.1"
|
||||
|
||||
|
|
@ -54,7 +54,7 @@ object Dependencies {
|
|||
"com.eed3si9n" %% "sjson-new-murmurhash" % contrabandSjsonNewVersion.value
|
||||
}
|
||||
|
||||
def log4jVersion = "2.11.1"
|
||||
def log4jVersion = "2.11.2"
|
||||
val log4jApi = "org.apache.logging.log4j" % "log4j-api" % log4jVersion
|
||||
val log4jCore = "org.apache.logging.log4j" % "log4j-core" % log4jVersion
|
||||
val disruptor = "com.lmax" % "disruptor" % "3.4.2"
|
||||
|
|
|
|||
Loading…
Reference in New Issue