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

Function logWarning

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

Source from the content-addressed store, hash-verified

194 * Log an info statement with a gray bullet at the start of the line.
195 */
196export function logWarning(
197 message: string,
198 type: LogLevel = "warn",
199 data: LogDataOrUndefined = undefined,
200): void {
201 logger[type](clc.yellow(clc.bold(`${WARNING_CHAR} `)), message, data);
202}
203
204/**
205 * Log a warning statement to stderr, regardless of logger configuration.

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…