object ConsoleAppender
- Alphabetic
- By Inheritance
- ConsoleAppender
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(name: String, out: ConsoleOut, ansiCodesSupported: Boolean, useFormat: Boolean, suppressedMessage: (SuppressedTraceContext) => Option[String]): Appender
A new
ConsoleAppender
identified byname
, and that writes toout
.A new
ConsoleAppender
identified byname
, and that writes toout
.- name
An identifier for the
ConsoleAppender
.- out
Where to write messages.
- ansiCodesSupported
true
if the output stream supports ansi codes,false
otherwise.- useFormat
true
to enable format (color, bold, etc.),false
to remove formatting.- returns
A new
ConsoleAppender
that writes toout
.
- def apply(name: String, terminal: Terminal, suppressedMessage: (SuppressedTraceContext) => Option[String]): Appender
A new
ConsoleAppender
identified byname
, and that writes toout
.A new
ConsoleAppender
identified byname
, and that writes toout
.- name
An identifier for the
ConsoleAppender
.- terminal
The terminal to which this appender corresponds
- suppressedMessage
How to handle stack traces.
- returns
A new
ConsoleAppender
that writes toout
.
- def apply(name: String, terminal: Terminal): Appender
A new
ConsoleAppender
identified byname
, and that writes toout
.A new
ConsoleAppender
identified byname
, and that writes toout
.- name
An identifier for the
ConsoleAppender
.- terminal
The terminal to which this appender corresponds
- returns
A new
ConsoleAppender
that writes toout
.
- def apply(name: String, out: ConsoleOut, useFormat: Boolean): Appender
A new
ConsoleAppender
identified byname
, and that writes toout
.A new
ConsoleAppender
identified byname
, and that writes toout
.- name
An identifier for the
ConsoleAppender
.- out
Where to write messages.
- useFormat
true
to enable format (color, bold, etc.),false
to remove formatting.- returns
A new
ConsoleAppender
that writes toout
.
- def apply(name: String, out: ConsoleOut, suppressedMessage: (SuppressedTraceContext) => Option[String]): Appender
A new
ConsoleAppender
identified byname
, and that writes toout
.A new
ConsoleAppender
identified byname
, and that writes toout
.- name
An identifier for the
ConsoleAppender
.- out
Where to write messages.
- suppressedMessage
How to handle stack traces.
- returns
A new
ConsoleAppender
that writes toout
.
- def apply(name: String, out: ConsoleOut): Appender
A new
ConsoleAppender
identified byname
, and that writes toout
.A new
ConsoleAppender
identified byname
, and that writes toout
.- name
An identifier for the
ConsoleAppender
.- out
Where to write messages.
- returns
A new
ConsoleAppender
that writes toout
.
- def apply(name: String): Appender
A new
ConsoleAppender
identified byname
, and that writes to standard output.A new
ConsoleAppender
identified byname
, and that writes to standard output.- name
An identifier for the
ConsoleAppender
.- returns
A new
ConsoleAppender
that writes to standard output.
- def apply(out: ConsoleOut): Appender
A new
ConsoleAppender
that writes toout
.A new
ConsoleAppender
that writes toout
.- out
Where to write messages.
- returns
A new
ConsoleAppender that writes to
out.
- def apply(out: PrintWriter): Appender
A new
ConsoleAppender
that appends log messages toout
.A new
ConsoleAppender
that appends log messages toout
.- out
Where to write messages.
- returns
A new
ConsoleAppender
.
- def apply(out: PrintStream): Appender
A new
ConsoleAppender
that appends log message toout
.A new
ConsoleAppender
that appends log message toout
.- out
Where to write messages.
- returns
A new
ConsoleAppender
.
- def apply(): Appender
A new
ConsoleAppender
that writes to standard output.A new
ConsoleAppender
that writes to standard output.- returns
A new
ConsoleAppender
that writes to standard output.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val noSuppressedMessage: (SuppressedTraceContext) => None.type
Hide stack trace altogether.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def setShowProgress(b: Boolean): Unit
- def showProgress: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLevel(level: Level): util.Level.Value
Converts the Log4J
level
to the corresponding sbt level.Converts the Log4J
level
to the corresponding sbt level.- level
A level, as represented by Log4J.
- returns
The corresponding level in sbt's world.
- def toString(): String
- Definition Classes
- AnyRef → Any
- def toXLevel(level: util.Level.Value): Level
Converts the sbt
level
to the corresponding Log4J level.Converts the sbt
level
to the corresponding Log4J level.- level
A level, as represented by sbt.
- returns
The corresponding level in Log4J's world.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- lazy val formatEnabledInEnv: Boolean
Indicates whether formatting has been disabled in environment variables.
Indicates whether formatting has been disabled in environment variables. 1. -Dsbt.log.noformat=true means no formatting. 2. -Dsbt.color=always/auto/never/true/false 3. -Dsbt.colour=always/auto/never/true/false 4. -Dsbt.log.format=always/auto/never/true/false
- Annotations
- @deprecated
- Deprecated
(Since version 1.4.0) Use Terminal.isAnsiSupported or Terminal.isColorEnabled