bun-sqlite-orm
Version:
A lightweight TypeScript ORM for Bun runtime with Bun SQLite, featuring Active Record pattern and decorator-based entities
17 lines (15 loc) • 565 B
text/typescript
import type { DbLogger } from '../types';
export class NullLogger implements DbLogger {
debug(_message: string, _meta?: unknown): void {
// Intentionally do nothing - this is a null logger
}
info(_message: string, _meta?: unknown): void {
// Intentionally do nothing - this is a null logger
}
warn(_message: string, _meta?: unknown): void {
// Intentionally do nothing - this is a null logger
}
error(_message: string, _meta?: unknown): void {
// Intentionally do nothing - this is a null logger
}
}