UNPKG

@ngworker/lumberjack

Version:

Lumberjack is a versatile Angular logging library, specifically designed to be extended and customized

8 lines (7 loc) 383 B
import { LumberjackLogPayload } from '../logs/lumberjack-log-payload'; import { LumberjackLog } from '../logs/lumberjack.log'; /** * The overridable Lumberjack format function is used to create the string * representation of a Lumberjack log. */ export type LumberjackFormatFunction<TPayload extends LumberjackLogPayload | void = void> = (log: LumberjackLog<TPayload>) => string;