On this page
LogFormatter
Interface required to implement custom log formatting.
msg
is the logged messageloc
is the location log was called from
See DefaultLogFormatter
for an example of how to implement a LogFormatter.
interface val LogFormatter
Public Functions
apply
fun box apply(
msg: String val,
loc: SourceLoc val)
: String val
Parameters
Returns
- String val
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/logger-LogFormatter