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

Method info

snowpack/src/logger.ts:98–101  ·  view source on GitHub ↗

emit general info

(message: string, options?: LoggerOptions)

Source from the content-addressed store, hash-verified

96
97 /** emit general info */
98 public info(message: string, options?: LoggerOptions): void {
99 const name = (options && options.name) || 'snowpack';
100 this.log({level: 'info', name, message, task: options?.task});
101 }
102
103 /** emit non-fatal warnings */
104 public warn(message: string, options?: LoggerOptions): void {

Callers 15

resolveIdFunction · 0.80
printHelpFunction · 0.80
cliFunction · 0.80
handleValidationErrorsFunction · 0.80
commandFunction · 0.80
addCommandFunction · 0.80
rmCommandFunction · 0.80
commandFunction · 0.80
startServerFunction · 0.80
onWatchEventFunction · 0.80
startDashboardFunction · 0.80
logFetchingFunction · 0.80

Calls 1

logMethod · 0.95

Tested by

no test coverage detected