feat(log): Add wrapper function for standardized logging (#4061)

* feat(log): Add wrapper function for standardized logging

* Add all routes to wrapper, handle background execution

* fix lint

* fix test

* fix test missing url

* fix lint

* fix tests

* fix build

* fix(build): unmangle generic in admin outbox requeue route

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Theodore Li
2026-04-21 13:21:13 -04:00
committed by GitHub
co-authored by Claude Opus 4.7
parent 0e1ff0a1ac
commit 699bbfd16f
690 changed files with 25014 additions and 23453 deletions
@@ -37,6 +37,8 @@ export function createMockLogger() {
export const loggerMock = {
createLogger: vi.fn(() => createMockLogger()),
logger: createMockLogger(),
runWithRequestContext: vi.fn(<T>(_ctx: unknown, fn: () => T): T => fn()),
getRequestContext: vi.fn(() => undefined),
}
/**