Skip to content

API / wxt / WxtLogger

Interface: WxtLogger ​

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

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:643

Inherited from ​

Logger.level

Methods ​

debug() ​

debug(...args): void

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

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.debug


error() ​

error(...args): void

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

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.error


fatal() ​

fatal(...args): void

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

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.fatal


info() ​

info(...args): void

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

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.info


log() ​

log(...args): void

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

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.log


success() ​

success(...args): void

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

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.success


warn() ​

warn(...args): void

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

Parameters ​

args ​

...any[]

Returns ​

void

Inherited from ​

Logger.warn


warnOnce() ​

warnOnce(...args): void

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

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