add logger

This commit is contained in:
Emily
2024-09-17 13:38:02 +02:00
parent fd5eca29cc
commit 86011c38ce
6 changed files with 50 additions and 17 deletions

View File

@@ -0,0 +1,7 @@
import { logger } from "../Logger"
export default defineEventHandler(async (event) => {
const start = Date.now();
event.context['performance-start'] = start.toString();
});