Logger[A: A]

class val Logger[A: A]

Constructors

create

new val create(
  level: (Fine val | Info val | Warn val | 
    Error val),
  out: OutStream tag,
  f: {(A): String}[A] val,
  formatter: LogFormatter val = seq)
: Logger[A] val^

Parameters

Returns


Public Functions

apply

fun box apply(
  level: (Fine val | Info val | Warn val | 
    Error val))
: Bool val

Parameters

Returns


log

fun box log(
  value: A,
  loc: SourceLoc val = seq)
: Bool val

Parameters

Returns