Skip to content

Commit bee34ee

Browse files
committed
feat: add logger prefix
1 parent bbef77f commit bee34ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/plugin/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ const plugin = (options?: ViteCertificateOptions): Plugin => {
1515
}
1616

1717
const { logLevel } = config
18-
const logger = createLogger(logLevel)
18+
const logger = createLogger(logLevel, {
19+
prefix: PLUGIN_NAME
20+
})
1921
const ips = getLocalV4Ips()
2022
const mkcert = Mkcert.create({
2123
logger,

0 commit comments

Comments
 (0)