Skip to content

API / wxt / WxtLogger

Interface: WxtLogger ​

Source: packages/wxt/src/types.ts:668

The logger available at wxt.logger and wxt.config.logger. Extends Logger with a warnOnce which only logs a message once per process.

Contents ​

Extends ​

Properties ​

level ​

level: LogLevel

Source: packages/wxt/src/types.ts:661

Inherited from ​

Logger.level

Methods ​

debug() ​

debug(...args): void

Source: packages/wxt/src/types.ts:654

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.debug


error() ​

error(...args): void

Source: packages/wxt/src/types.ts:658

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.error


fatal() ​

fatal(...args): void

Source: packages/wxt/src/types.ts:659

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.fatal


info() ​

info(...args): void

Source: packages/wxt/src/types.ts:656

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.info


log() ​

log(...args): void

Source: packages/wxt/src/types.ts:655

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.log


success() ​

success(...args): void

Source: packages/wxt/src/types.ts:660

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.success


warn() ​

warn(...args): void

Source: packages/wxt/src/types.ts:657

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.warn


warnOnce() ​

warnOnce(...args): void

Source: packages/wxt/src/types.ts:673

Same as Logger.warn, but only logs a given message once per process, even if called multiple times with the same arguments.

Parameters ​

args ​

...any[]

Returns ​

void


Generated using typedoc-plugin-markdown and TypeDoc