Welcome to Dobby's documentation page.
Here you can check example usages for this simple Elf package.
const dobbyOptions = { enabled: true, // default true defaultCollapsed: false, // default true }
const dobby = new Dobby(dobbyOptions)
dobby.talk(dataInput, prefixString, collapsedBoolean, forceBoolean) alias t()
dobby.warn(dataInput, prefixString, collapsedBoolean, forceBoolean) alias w()
dobby.error(dataInput, prefixString, collapsedBoolean, forceBoolean) alias e()
dobby.highlight(stringInput, forceBoolean) alias h()
dobby.consoleClean(forceBoolean) alias c()
-
dataInput
Any data you want to verbose. -
prefixString
String identifier for given data (optional). -
collapseBoolean
Logs collapsed or not (optional). -
forceBoolean
Use true to bypass 'enabled' setting (optional).