Skip to content

API Reference


API Reference / Logger

Interface: Logger ​

Defined in: src/types/ws.types.ts:191

Methods ​

debug() ​

debug(message, context?): void

Defined in: src/types/ws.types.ts:192

Parameters ​

message ​

string

context? ​

Record<string, unknown>

Returns ​

void


info() ​

info(message, context?): void

Defined in: src/types/ws.types.ts:193

Parameters ​

message ​

string

context? ​

Record<string, unknown>

Returns ​

void


warn() ​

warn(message, context?): void

Defined in: src/types/ws.types.ts:194

Parameters ​

message ​

string

context? ​

Record<string, unknown>

Returns ​

void


error() ​

error(message, error?, context?): void

Defined in: src/types/ws.types.ts:195

Parameters ​

message ​

string

error? ​

Error

context? ​

Record<string, unknown>

Returns ​

void

Community project — not affiliated with Dhan. MIT License.