mirror of
https://git.stamm.me/OpenServer/NodeLogging.git
synced 2024-11-14 17:31:05 +00:00
Changing message event content
This commit is contained in:
parent
8c97b66e43
commit
a3130f8a89
@ -259,7 +259,7 @@ class LoggingBase {
|
||||
if (this.logFile) {
|
||||
this.logFile.write(data);
|
||||
}
|
||||
this.events.emit("message", { type: type, message: mb });
|
||||
this.events.emit("message", { type: type, message: data.toString("utf8") });
|
||||
}
|
||||
}
|
||||
exports.LoggingBase = LoggingBase;
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hibas123/nodelogging",
|
||||
"version": "1.3.18",
|
||||
"version": "1.3.19",
|
||||
"description": "",
|
||||
"main": "out/index.js",
|
||||
"types": "out/index.d.ts",
|
||||
|
@ -303,7 +303,7 @@ export class LoggingBase {
|
||||
if (this.logFile) {
|
||||
this.logFile.write(data);
|
||||
}
|
||||
this.events.emit("message", { type: type, message: mb });
|
||||
this.events.emit("message", { type: type, message: data.toString("utf8") });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user