Skip to main content
You are viewing Pre-Alpha documentation.
Vuetify0 Logo
Theme
Mode
Accessibility
Vuetify

Sign in

Sign in with your preferred provider to access your account.

useLogger API

API reference for the useLogger composable.

Functions

createLogger

(options?: LoggerOptions) => E

Creates a new logger instance.

createLoggerContext

(_options?: LoggerContextOptions) => ContextTrinity<E>

Creates a new logger context.

createLoggerPlugin

(_options?: LoggerPluginOptions) => any

Creates a new logger plugin.

useLogger

(namespace?: string) => E

Uses an existing or creates a new logger instance.

Options

adapter

LoggerAdapter

level

LogLevel

prefix

string

enabled

boolean

Methods

debug

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

info

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

warn

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

error

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

trace

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

fatal

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

level

(level: LogLevel) => void

current

() => LogLevel

enabled

() => boolean

enable

() => void

disable

() => void
Was this page helpful?

© 2016-1970 Vuetify, LLC
Ctrl+/