fix: missing import map for logger
This commit is contained in:
parent
fc90dad185
commit
b5dbf293a2
@ -6,6 +6,7 @@
|
|||||||
"log/": "./log/",
|
"log/": "./log/",
|
||||||
"db/": "./db/",
|
"db/": "./db/",
|
||||||
"$std/": "https://deno.land/std@0.216.0/",
|
"$std/": "https://deno.land/std@0.216.0/",
|
||||||
"mq/": "./mq/"
|
"mq/": "./mq/",
|
||||||
|
"chalk": "npm:chalk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import winston, { format, transports } from "npm:winston";
|
import winston, { format, transports } from "npm:winston";
|
||||||
import { TransformableInfo } from "npm:logform";
|
import type { TransformableInfo } from "npm:logform";
|
||||||
import chalk from "chalk";
|
import chalk from "chalk";
|
||||||
|
|
||||||
const customFormat = format.printf((info: TransformableInfo) => {
|
const customFormat = format.printf((info: TransformableInfo) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user