Huggingface.js 文件

介面:Logger

Hugging Face's logo
加入 Hugging Face 社群

並獲得增強的文件體驗

開始使用

介面:Logger

屬性

debug

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

型別宣告

▸ (message, ...args): void

引數
名稱 型別
訊息 字串
...args 未知[]
返回

定義於

inference/src/types.ts:9


error

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

型別宣告

▸ (message, ...args): void

引數
名稱 型別
訊息 字串
...args 未知[]
返回

定義於

inference/src/types.ts:12


info

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

型別宣告

▸ (message, ...args): void

引數
名稱 型別
訊息 字串
...args 未知[]
返回

定義於

inference/src/types.ts:10


log

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

型別宣告

▸ (message, ...args): void

引數
名稱 型別
訊息 字串
...args 未知[]
返回

定義於

inference/src/types.ts:13


warn

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

型別宣告

▸ (message, ...args): void

引數
名稱 型別
訊息 字串
...args 未知[]
返回

定義於

inference/src/types.ts:11

< > 在 GitHub 上更新

© . This site is unofficial and not affiliated with Hugging Face, Inc.