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
| Parameter | Type |
|---|---|
str | string |
Returns
void