tuil
ReferencePackages@mwillbanks/tuil-loggingAPI

LogDiagnostic

interface exported by @mwillbanks/tuil-logging.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-logging.

export interface LogDiagnostic {
  readonly severity: "warning" | "error";
  readonly message: string;
  readonly raw?: string;
}

Members

MemberTypeRequiredDescriptionRelated types
severity"warning" | "error"YesThe severity member uses the "warning" | "error" contract.
messagestringYesThe message member uses the string contract.
rawstring | undefinedNoThe raw member uses the string | undefined contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-logging

On this page