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

Function warn

packages/query-plan-executor/src/log/facade.ts:44–46  ·  view source on GitHub ↗
(message: string, attributes?: ExtendedAttributes)

Source from the content-addressed store, hash-verified

42 * @throws {Error} if no active logger is found
43 */
44export function warn(message: string, attributes?: ExtendedAttributes) {
45 getActiveLogger().warn(message, attributes)
46}
47
48/**
49 * Logs an error message using the active logger.

Callers 1

facade.test.tsFile · 0.90

Calls 2

getActiveLoggerFunction · 0.90
warnMethod · 0.80

Tested by

no test coverage detected