LoggerWriter

class LoggerWriter(delegate: Logger, unbufferedLevel: Option[Value], nl: String) extends Writer

Provides a java.io.Writer interface to a Logger. Content is line-buffered and logged at level. A line is delimited by nl, which is by default the platform line separator.

class Writer
trait Flushable
trait Closeable
trait AutoCloseable
trait Appendable
class Object
trait Matchable
class Any

Value members

Constructors

def this(delegate: Logger, level: Value)
def this(delegate: Logger)

Concrete methods

override
def close(): Unit
Definition Classes
Writer -> Closeable -> AutoCloseable
override
def flush(): Unit
Definition Classes
Writer -> Flushable
def flushLines(level: Value): Unit
override
def write(content: Array[Char], offset: Int, length: Int): Unit
Definition Classes
Writer

Inherited methods

@throws(java.io.IOException)
def append(x$0: Char): Writer
Inherited from
Writer
@throws(java.io.IOException)
def append(x$0: CharSequence, x$1: Int, x$2: Int): Writer
Inherited from
Writer
@throws(java.io.IOException)
def append(x$0: CharSequence): Writer
Inherited from
Writer
@throws(java.io.IOException)
def write(x$0: String, x$1: Int, x$2: Int): Unit
Inherited from
Writer
@throws(java.io.IOException)
def write(x$0: String): Unit
Inherited from
Writer
@throws(java.io.IOException)
def write(x$0: Array[Char]): Unit
Inherited from
Writer
@throws(java.io.IOException)
def write(x$0: Int): Unit
Inherited from
Writer