@akc42/server-utils 3.4.1 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/debug.js +1 -1
- package/package.json +1 -1
package/debug.js
CHANGED
|
@@ -52,7 +52,7 @@ export function Debug (topic) {
|
|
|
52
52
|
//eslint-disable-next-line no-console
|
|
53
53
|
console.log(logLine);
|
|
54
54
|
}
|
|
55
|
-
const time = chalk.whiteBright(new Date().
|
|
55
|
+
const time = chalk.whiteBright(new Date().toISOString().substring(11,23)); //store millisecond timing
|
|
56
56
|
cache.push(`${time} ${output}`);
|
|
57
57
|
if (cache.length > cachelimit) cache.splice(0,cache.length - cachelimit); //prevent it getting too big
|
|
58
58
|
}
|