Logger[A: A]¶
Logs values of type A, converting them to strings via a supplied lambda.
Constructors¶
create¶
new val create(
level: LogLevel,
out: OutStream tag,
f: {(A): String}[A] val,
formatter: LogFormatter val = DefaultLogFormatter)
: Logger[A] val^
Parameters¶
- level: LogLevel
- out: OutStream tag
- f: {(A): String}[A] val
- formatter: LogFormatter val = DefaultLogFormatter
Returns¶
- Logger[A] val^
Public Functions¶
apply¶
Parameters¶
- level: LogLevel
Returns¶
- Bool val
log¶
Parameters¶
- value: A
- loc: SourceLoc val = __loc
Returns¶
- Bool val