MCPcopy
hub / github.com/prisma/prisma / warn

Method warn

packages/query-plan-executor/src/log/logger.ts:68–70  ·  view source on GitHub ↗

* Logs a warning message. * * @param message The message to log * @param attributes Optional key-value pairs to include with the log event

(message: string, attributes?: ExtendedAttributes)

Source from the content-addressed store, hash-verified

66 * @param attributes Optional key-value pairs to include with the log event
67 */
68 warn(message: string, attributes?: ExtendedAttributes): void {
69 this.log('warn', message, attributes)
70 }
71
72 /**
73 * Logs an error message.

Callers 15

writeMethod · 0.80
warnFunction · 0.80
factory.test.tsFile · 0.80
context.test.tsFile · 0.80
logger.test.tsFile · 0.80
warnFunction · 0.80
printConfigWarningsFunction · 0.80
formatSchemaFunction · 0.80
setupMSSQLFunction · 0.80
validateFileExtensionFunction · 0.80
mainFunction · 0.80
createExecutorFunction · 0.80

Calls 1

logMethod · 0.95

Tested by

no test coverage detected