MCPcopy
hub / github.com/FredKSchott/snowpack / debug

Method debug

snowpack/src/logger.ts:92–95  ·  view source on GitHub ↗

emit messages only visible when --debug is passed

(message: string, options?: LoggerOptions)

Source from the content-addressed store, hash-verified

90
91 /** emit messages only visible when --debug is passed */
92 public debug(message: string, options?: LoggerOptions): void {
93 const name = (options && options.name) || 'snowpack';
94 this.log({level: 'debug', name, message, task: options?.task});
95 }
96
97 /** emit general info */
98 public info(message: string, options?: LoggerOptions): void {

Callers 15

resolveIdFunction · 0.80
loadFunction · 0.80
cliFunction · 0.80
loadPluginFromConfigFunction · 0.80
loadPluginsFunction · 0.80
startServerFunction · 0.80
loadUrlFunction · 0.80
handleRequestFunction · 0.80
commandFunction · 0.80
startDashboardFunction · 0.80
prepareMethod · 0.80

Calls 1

logMethod · 0.95

Tested by

no test coverage detected