fix: missing import map for logger

This commit is contained in:
alikia2x (寒寒) 2025-04-08 02:07:53 +08:00
parent fc90dad185
commit b5dbf293a2
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@
"log/": "./log/",
"db/": "./db/",
"$std/": "https://deno.land/std@0.216.0/",
"mq/": "./mq/"
"mq/": "./mq/",
"chalk": "npm:chalk"
}
}

View File

@ -1,5 +1,5 @@
import winston, { format, transports } from "npm:winston";
import { TransformableInfo } from "npm:logform";
import type { TransformableInfo } from "npm:logform";
import chalk from "chalk";
const customFormat = format.printf((info: TransformableInfo) => {