@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
Name | Type | Default value | Description |
---|---|---|---|
name | string | undefined | The name that will be used to prefix the log messages |
color | string | '#34495E' | The color of the text in the name |
background | string | '#41B883' | The color of the background in the name |
Returns
fn
A function that will log messages to the console
▸ (...args
): void
Parameters
Name | Type |
---|---|
...args | any [] |
Returns
void