Skip to content

API > wxt > WxtLogger

Interface: WxtLogger

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

Contents

Extends

Properties

level

level: LogLevel

Inherited from

Logger.level

Source

packages/wxt/src/types.ts:643

Methods

debug()

debug(...args): void

Parameters

▪ ...args: any[]

Inherited from

Logger.debug

Source

packages/wxt/src/types.ts:636


error()

error(...args): void

Parameters

▪ ...args: any[]

Inherited from

Logger.error

Source

packages/wxt/src/types.ts:640


fatal()

fatal(...args): void

Parameters

▪ ...args: any[]

Inherited from

Logger.fatal

Source

packages/wxt/src/types.ts:641


info()

info(...args): void

Parameters

▪ ...args: any[]

Inherited from

Logger.info

Source

packages/wxt/src/types.ts:638


log()

log(...args): void

Parameters

▪ ...args: any[]

Inherited from

Logger.log

Source

packages/wxt/src/types.ts:637


success()

success(...args): void

Parameters

▪ ...args: any[]

Inherited from

Logger.success

Source

packages/wxt/src/types.ts:642


warn()

warn(...args): void

Parameters

▪ ...args: any[]

Inherited from

Logger.warn

Source

packages/wxt/src/types.ts:639


warnOnce()

warnOnce(...args): void

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[]

Source

packages/wxt/src/types.ts:655


Generated using typedoc-plugin-markdown and TypeDoc