Skip to content

adamant-api / index / CustomLogger

Type Alias: CustomLogger ​

ts
type CustomLogger = Record<"error" | "warn" | "info" | "log", (str) => void> & {
  debug?: (str) => void;
};

Defined in: src/helpers/logger.ts:10

Type Declaration ​

debug? ​

ts
optional debug?: (str) => void;

Optional for backward compatibility; log is used as a fallback.

Parameters ​

ParameterType
strstring

Returns ​

void

Released under the GPL-3.0 License.