class val Logger[A: A]
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^
fun box apply(
level: (Fine val | Info val | Warn val |
Error val))
: Bool val
fun box log( value: A, loc: SourceLoc val = __loc) : Bool val
© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/logger-Logger