Type alias ZLogFormatter<TForm>

ZLogFormatter<TForm>: ((this, message) => TForm | undefined)

Type Parameters

  • TForm = string

    A type of formatted message form.

Type declaration

    • (this, message): TForm | undefined
    • Log message formatter signature.

      Formats the message and represents it in another form.

      Parameters

      • this: void
      • message: ZLogMessage

        Log message to format.

      Returns TForm | undefined

      Formatted message form, or undefined if nothing formatted.

Generated using TypeDoc