parallelize notifications

This commit is contained in:
Alex Holliday committed 2025-11-26 19:26:16 +00:00
1 parent 92750ce8f9
commit 4e8281aefb
3 files changed
+62 -31

No files matched your search

+3
View File
@@ -11,6 +11,9 @@ const buildLogMsg = (info: winston.Logform.TransformableInfo) => {
const message = info.message;
const service = info.service;
const stack = info.stack || "";
const { ...meta } = info;
const metaString =
Object.keys(meta).length > 0 ? ` | meta: ${JSON.stringify(meta)}` : "";
return `[${timestamp}]${
service ? ` [${service}]` : ""
} ${level}: ${message} ${stack}`;