mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 07:35:02 +00:00
Add performance logging
This commit is contained in:
parent
0cc131b3ab
commit
ec5e8ec84f
4 changed files with 24 additions and 5 deletions
|
@ -144,6 +144,12 @@ connect().then(async conn => {
|
|||
if (level === "debug") return;
|
||||
const ts = moment().format("YYYY-MM-DD HH:mm:ss");
|
||||
console.log(`[${ts}] [${level.toUpperCase()}] ${msg}`);
|
||||
},
|
||||
|
||||
performanceDebug: {
|
||||
enabled: true,
|
||||
size: 30,
|
||||
threshold: 200
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue