Skip to content

Logger[A: A]

[Source]

class val Logger[A: A]

Constructors

create

[Source]

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

Parameters

Returns


Public Functions

apply

[Source]

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

Parameters

Returns


log

[Source]

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

Parameters

Returns