Skip to content

@jakguru/vueprint / @jakguru/vueprint/utilities/debug

Module: @jakguru/vueprint/utilities/debug

Functions

getDebugger

getDebugger(name, color?, background?): (...args: any[]) => void

Generate a function that will log messages to the console

Parameters

NameTypeDefault valueDescription
namestringundefinedThe name that will be used to prefix the log messages
colorstring'#34495E'The color of the text in the name
backgroundstring'#41B883'The color of the background in the name

Returns

fn

A function that will log messages to the console

▸ (...args): void

Parameters
NameType
...argsany[]
Returns

void

Defined in

src/utilities/debug.ts:14

Vueprint is a commercial work product released under the MIT License and is provided as-is with no warranty or guarantee of support.