LogFormatter

Interface required to implement custom log formatting.

  • msg is the logged message
  • loc 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