tuil
ReferencePackages@mwillbanks/tuil-loggingAPI

LogParser

interface exported by @mwillbanks/tuil-logging.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-logging.

export interface LogParser {
  readonly id: string;
  detect(input: string): number;
  parse(input: string): readonly LogRecord[];
}

Members

MemberTypeRequiredDescriptionRelated types
idstringYesThe id member uses the string contract.
detect(input: string) => numberYesThe detect member uses the (input: string) => number contract.
parse(input: string) => readonly LogRecord[]YesThe parse member uses the (input: string) => readonly LogRecord[] contract.LogRecord

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-logging

On this page