Log a message to the console. This will be automatically suppressed if output is disabled.
Optionalmessage: string
Message to log. Formatting is supported.
Args to be used for formatting.
Log a message to stderr. This will be automatically suppressed if output is disabled.
Optionalmessage: string
Message to log. Formatting is supported.
Args to be used for formatting.
Return a string rendering of a table.
Table properties
string rendering of a table
Display stylized header to the console. This will be automatically suppressed if output is disabled.
header to display
Display stylized JSON to the console. This will be automatically suppressed if output is disabled.
JSON to display
Optionaltheme: Record<string, string>Display stylized object to the console. This will be automatically suppressed if output is disabled.
Object to display
Optionalkeys: string[]
Keys of object to display
Display a table to the console. This will be automatically suppressed if output is disabled.
Table properties
Display a url to the console. This will be automatically suppressed if output is disabled.
text to display
URL link
Log a warning message to the console. This will be automatically suppressed if output is disabled.
Warning message to log.
UX methods for plugins. Automatically suppress console output if outputEnabled is set to false.
Example