Brought to you by Allons-y Studio

Type Alias: Logger

type Logger = {
  debug: void;
  error: void;
  info: void;
  warn: void;
};

Defined in: detector.ts:8

Leveled logging that detectors write through instead of using console directly.

Methods

debug()

debug(msg): void;

Defined in: detector.ts:16

Report detail that is shown only when debugging is on.

Parameters

Parameter Type
msg string

Returns

void


error()

error(msg): void;

Defined in: detector.ts:14

Report a failure.

Parameters

Parameter Type
msg string

Returns

void


info()

info(msg): void;

Defined in: detector.ts:10

Report normal progress.

Parameters

Parameter Type
msg string

Returns

void


warn()

warn(msg): void;

Defined in: detector.ts:12

Report something that needs attention but is not fatal.

Parameters

Parameter Type
msg string

Returns

void