ConsoleAppender

sbt.internal.util.ConsoleAppender$
See theConsoleAppender companion class

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

A new ConsoleAppender that writes to standard output.

A new ConsoleAppender that writes to standard output.

Attributes

Returns:

A new ConsoleAppender that writes to standard output.

def apply(out: PrintStream): Appender

A new ConsoleAppender that appends log message to out.

A new ConsoleAppender that appends log message to out.

Attributes

out

Where to write messages.

Returns:

A new ConsoleAppender.

def apply(out: PrintWriter): Appender

A new ConsoleAppender that appends log messages to out.

A new ConsoleAppender that appends log messages to out.

Attributes

out

Where to write messages.

Returns:

A new ConsoleAppender.

A new ConsoleAppender that writes to out.

A new ConsoleAppender that writes to out.

Attributes

out

Where to write messages.

Returns:

A new ConsoleAppender that writes toout`.

def apply(name: String): Appender

A new ConsoleAppender identified by name, and that writes to standard output.

A new ConsoleAppender identified by name, and that writes to standard output.

Attributes

name

An identifier for the ConsoleAppender.

Returns:

A new ConsoleAppender that writes to standard output.

def apply(name: String, out: ConsoleOut): Appender

A new ConsoleAppender identified by name, and that writes to out.

A new ConsoleAppender identified by name, and that writes to out.

Attributes

name

An identifier for the ConsoleAppender.

out

Where to write messages.

Returns:

A new ConsoleAppender that writes to out.

def apply(name: String, out: ConsoleOut, suppressedMessage: SuppressedTraceContext => Option[String]): Appender

A new ConsoleAppender identified by name, and that writes to out.

A new ConsoleAppender identified by name, and that writes to out.

Attributes

name

An identifier for the ConsoleAppender.

out

Where to write messages.

suppressedMessage

How to handle stack traces.

Returns:

A new ConsoleAppender that writes to out.

def apply(name: String, out: ConsoleOut, useFormat: Boolean): Appender

A new ConsoleAppender identified by name, and that writes to out.

A new ConsoleAppender identified by name, and that writes to out.

Attributes

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 to out.

def apply(name: String, terminal: Terminal): Appender

A new ConsoleAppender identified by name, and that writes to out.

A new ConsoleAppender identified by name, and that writes to out.

Attributes

name

An identifier for the ConsoleAppender.

terminal

The terminal to which this appender corresponds

Returns:

A new ConsoleAppender that writes to out.

def apply(name: String, terminal: Terminal, suppressedMessage: SuppressedTraceContext => Option[String]): Appender

A new ConsoleAppender identified by name, and that writes to out.

A new ConsoleAppender identified by name, and that writes to out.

Attributes

name

An identifier for the ConsoleAppender.

suppressedMessage

How to handle stack traces.

terminal

The terminal to which this appender corresponds

Returns:

A new ConsoleAppender that writes to out.

def apply(name: String, out: ConsoleOut, ansiCodesSupported: Boolean, useFormat: Boolean, suppressedMessage: SuppressedTraceContext => Option[String]): Appender

A new ConsoleAppender identified by name, and that writes to out.

A new ConsoleAppender identified by name, and that writes to out.

Attributes

ansiCodesSupported

true if the output stream supports ansi codes, false otherwise.

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 to out.

def safe(name: String, terminal: Terminal): Appender

A new ConsoleAppender identified by name, and that writes to terminal. Printing to this Appender will not throw if the Terminal has been closed.

A new ConsoleAppender identified by name, and that writes to terminal. Printing to this Appender will not throw if the Terminal has been closed.

Attributes

name

An identifier for the ConsoleAppender.

terminal

The terminal to which this appender corresponds

Returns:

A new ConsoleAppender that writes to terminal.

def setShowProgress(b: Boolean): Unit
def showProgress: Boolean
def toLevel(level: Level): Value

Converts the Log4J level to the corresponding sbt level.

Converts the Log4J level to the corresponding sbt level.

Attributes

level

A level, as represented by Log4J.

Returns:

The corresponding level in sbt's world.

def toXLevel(level: Value): Level

Converts the sbt level to the corresponding Log4J level.

Converts the sbt level to the corresponding Log4J level.

Attributes

level

A level, as represented by sbt.

Returns:

The corresponding level in Log4J's world.

Concrete fields

Hide stack trace altogether.

Hide stack trace altogether.

Attributes

Deprecated fields

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
    1. -Dsbt.colour=always/auto/never/true/false 4. -Dsbt.log.format=always/auto/never/true/false

Attributes

Deprecated
true