LogWriter

object LogWriter

Provides factory for LogWriter.

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(writer: Writer): LogWriter

Creates log writer.

Creates log writer.

Value Params
writer

writer to which logs are written

def apply(out: OutputStream): LogWriter

Creates log writer to given output stream.

Creates log writer to given output stream.

Value Params
out

output stream to which logs are written

def apply(file: File): LogWriter

Creates log writer to given file.

Creates log writer to given file.

Value Params
file

file to which logs are written

def apply(file: File, append: Boolean): LogWriter

Creates log writer to given file.

Creates log writer to given file.

Value Params
append

specifies if file should be opened in append mode

file

file to which logs are written

def apply(fileName: String): LogWriter

Creates log writer to given file.

Creates log writer to given file.

Value Params
fileName

file name to which logs are written

def apply(fileName: String, append: Boolean): LogWriter

Creates log writer to given file.

Creates log writer to given file.

Value Params
append

specifies if file should be opened in append mode

fileName

file name to which logs are written

def apply(path: Path, opts: OpenOption*): LogWriter

Creates log writer to given path.

Creates log writer to given path.

Value Params
opts

open options

path

path to which logs are written