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:
@@ -15,6 +15,7 @@ export enum LogContext {
|
|||||||
AgeAssurance = 'age-assurance',
|
AgeAssurance = 'age-assurance',
|
||||||
PolicyUpdate = 'policy-update',
|
PolicyUpdate = 'policy-update',
|
||||||
Geolocation = 'geolocation',
|
Geolocation = 'geolocation',
|
||||||
|
Drafts = 'drafts',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* METRIC IS FOR INTERNAL USE ONLY, don't create any other loggers using this
|
* METRIC IS FOR INTERNAL USE ONLY, don't create any other loggers using this
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
import {Logger} from '#/logger'
|
||||||
|
|
||||||
|
export const logger = Logger.create(Logger.Context.Drafts)
|
||||||
Reference in New Issue
Block a user