Flog

com.phasmidsoftware.flog.Flog
See theFlog companion class
object Flog

Companion object to Flog.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Flog.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[T : ClassTag]: Flog

Method to instantiate a normal instance of Flog with logging via the default logging function (based on the class Flog).

Method to instantiate a normal instance of Flog with logging via the default logging function (based on the class Flog).

Attributes

Returns

an instance of Flog.

def apply(clazz: Class[_]): Flog

Use this method to create an instance of Flog with the default logging function based on clazz.

Use this method to create an instance of Flog with the default logging function based on clazz.

Value parameters

clazz

the class for which you want to log.

Attributes

Returns

a new instance of Flog.

def apply(logger: Logger): Flog

Method to instantiate a normal instance of Flog with logging via the default logging function (based on the class Flog).

Method to instantiate a normal instance of Flog with logging via the default logging function (based on the class Flog).

Attributes

Returns

an instance of Flog.

def apply(sb: StringBuilder): Flog

Method to create a Flog from a StringBuilder. Mostly intended for testing.

Method to create a Flog from a StringBuilder. Mostly intended for testing.

Value parameters

sb

the StringBuilder.

Attributes

Returns

an instance of Flog.

def apply(a: Appendable & AutoCloseable & Flushable): Flog

Method to create a Flog from an Appendable, AutoCloseable, Flushable object. Don't forget to close this Flog.

Method to create a Flog from an Appendable, AutoCloseable, Flushable object. Don't forget to close this Flog.

Value parameters

a

the Appendable, which must also be AutoCloseable and Flushable.

Attributes

Returns

an instance of Flog.

def apply(s: PrintStream): Flog

Method to create a Flog from a PrintStream. NOTE: invokes apply(Appendable).

Method to create a Flog from a PrintStream. NOTE: invokes apply(Appendable).

Value parameters

s

the PrintStream.

Attributes

Returns

an instance of Flog.

def apply(o: OutputStream): Flog

Method to create a Flog from an OutputStream. NOTE: invokes apply(Appendable). Don't forget to close this Flog.

Method to create a Flog from an OutputStream. NOTE: invokes apply(Appendable). Don't forget to close this Flog.

Value parameters

o

the OutputStream.

Attributes

Returns

an instance of Flog.