Skip to content

safeWarn

safeWarn(logger, message): void

Defined in: packages/ddd-core/persistence/cache/cache-logger.ts:34

Writes a warning without letting the logger change the caller’s outcome: cache maintenance runs after a durable write, and a throwing logger must not turn that success into an error.

ICacheLogger

string

void