Skip to content

LogFormatter

[Source]

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

[Source]

fun box apply(
  msg: String val,
  loc: SourceLoc val)
: String val

Parameters

Returns