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

© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/logger-Logger