MCPcopy Create free account
hub / github.com/firebase/firebase-tools / logLabeledWarning

Function logLabeledWarning

src/utils.ts:215–222  ·  view source on GitHub ↗
(
  label: string,
  message: string,
  type: LogLevel = "warn",
  data: LogDataOrUndefined = undefined,
)

Source from the content-addressed store, hash-verified

213 * Log an info statement with a gray bullet at the start of the line.
214 */
215export function logLabeledWarning(
216 label: string,
217 message: string,
218 type: LogLevel = "warn",
219 data: LogDataOrUndefined = undefined,
220): void {
221 logger[type](clc.yellow(clc.bold(`${WARNING_CHAR} ${label}:`)), message, data);
222}
223
224/**
225 * Log an error statement with a red bullet at the start of the line.

Callers 15

uploadSourceV1Function · 0.90
uploadSourceV2Function · 0.90
executeTaskQueueHookFunction · 0.90
getNodeBinaryMethod · 0.90
unregisterTriggerMethod · 0.90
prepare.tsFile · 0.90
injectAutoInitEnvVarsFunction · 0.90
release.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…