Huggingface.js documentation

Interface : Logger

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface : Logger

Propriétés

debug

• debug : (message : string, …args : unknown[]) => void

Déclaration de type

▸ (message, ...args): void

Paramètres
NomType
messagestring
...argsunknown[]
Retourne

void

Défini dans

inference/src/types.ts:9


error

• error : (message : string, …args : unknown[]) => void

Déclaration de type

▸ (message, ...args): void

Paramètres
NomType
messagestring
...argsunknown[]
Retourne

void

Défini dans

inference/src/types.ts:12


info

• info : (message : string, …args : unknown[]) => void

Déclaration de type

▸ (message, ...args): void

Paramètres
NomType
messagestring
...argsunknown[]
Retourne

void

Défini dans

inference/src/types.ts:10


log

• log : (message : string, …args : unknown[]) => void

Déclaration de type

▸ (message, ...args): void

Paramètres
NomType
messagestring
...argsunknown[]
Retourne

void

Défini dans

inference/src/types.ts:13


warn

• warn : (message : string, …args : unknown[]) => void

Déclaration de type

▸ (message, ...args): void

Paramètres
NomType
messagestring
...argsunknown[]
Retourne

void

Défini dans

inference/src/types.ts:11

Update on GitHub