Type alias LogFormatter<T>

LogFormatter<T>: ((entry: LogEntry) => T)

Type Parameters

  • T = any[]

Type declaration

    • (entry: LogEntry): T
    • Formats a log entry. Depends on the reporter, it can expect a different return type. By default the return type is any[] which the console accepts.

      Parameters

      Returns T

Generated using TypeDoc