parallelize notifications
This commit is contained in:
1 parent
92750ce8f9
commit
4e8281aefb
3 files changed
+62
-31
No files matched your search
@@ -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}`;
|
||||
|
||||
Reference in new issue
Block a user