feat: add drafts-specific logger

Add a Drafts context to the logger system for better log categorization
and debugging of draft-related operations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-01-16 11:29:02 +02:00
parent 9c8533c05e
commit 12763bee76
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -15,6 +15,7 @@ export enum LogContext {
AgeAssurance = 'age-assurance',
PolicyUpdate = 'policy-update',
Geolocation = 'geolocation',
Drafts = 'drafts',
/**
* METRIC IS FOR INTERNAL USE ONLY, don't create any other loggers using this
+3
View File
@@ -0,0 +1,3 @@
import {Logger} from '#/logger'
export const logger = Logger.create(Logger.Context.Drafts)