increasing logging verbosity

This commit is contained in:
Rolf
2026-03-18 14:09:04 +01:00
parent bc4af800ff
commit 009e555f07
3 changed files with 9 additions and 2 deletions
+1
View File
@@ -6,6 +6,7 @@ import * as schema from './db/schema'
import { sendEmail } from './email'
export const auth = betterAuth({
logger: { level: 'debug' },
database: drizzleAdapter(db, {
provider: 'pg',
schema: {
+1 -1
View File
@@ -3,4 +3,4 @@ import postgres from 'postgres'
import * as schema from './schema'
const client = postgres(process.env.DATABASE_URL!)
export const db = drizzle(client, { schema })
export const db = drizzle(client, { schema, logger: true })