system

object system

Functionality for system output stream management

class Object
trait Matchable
class Any
system.type

Value members

Concrete methods

def err: PrintStream

The standard system err (set upon initialization to represent the original, non-redirected, System.err)

The standard system err (set upon initialization to represent the original, non-redirected, System.err)

def installJUL(): Unit
def out: PrintStream

The standard system out (set upon initialization to represent the original, non-redirected, System.out)

The standard system out (set upon initialization to represent the original, non-redirected, System.out)

def redirect(outLevel: Option[Level], errLevel: Option[Level], loggerId: LoggerId): Unit

Redirects system output to Scribe's logging

Redirects system output to Scribe's logging

Value parameters:
errLevel

if set, defines the level to log System.err to (defaults to Some(Level.Error))

loggerId

the loggerId to determine what logger to use when logging (defaults to Logger.RootId)

outLevel

if set, defines the level to log System.out to (defaults to Some(Level.Info))

def reset(out: Boolean, err: Boolean): Unit

Resets the System.out and System.err to the original state

Resets the System.out and System.err to the original state

Value parameters:
err

if true, resets System.err (defaults to true)

out

if true, resets System.out (defaults to true)