clearer plugin logs
Massimo Melina committed
Jun 17, 2026 at 18:56 UTC
6a72e300635bbe77acef3c17f87c05f0386e353e
1 file changed
+1
-1
src/plugins.ts
+1
-1
@@ -567,7 +567,7 @@ function watchPlugin(id: string, path: string) {
567
return db
568
},
569
log(...args: any[]) {
570
- console.log('Plugin', id+':', ...args)
570
+ console.log(`Plugin "${id}":`, ...args)
571
pluginReady.then(() => { // log() maybe invoked during init(), while plugin is undefined
572
if (!plugin) return
573
const msg = { ts: new Date, msg: args.map(x => x && typeof x === 'object' ? JSON.stringify(x) : String(x)).join(' ') }