badmfck-api-server 1.4.5 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -60,7 +60,7 @@ exports.S_LOG_SET_TEXT_LIMIT = new badmfck_signal_1.default();
|
|
60
60
|
exports.REQ_LOG = new badmfck_signal_1.Req();
|
61
61
|
exports.REQ_LOG_UNIQUE_SERVICES = new badmfck_signal_1.Req();
|
62
62
|
class LogService extends BaseService_1.BaseService {
|
63
|
-
|
63
|
+
static nextID = 0;
|
64
64
|
log = [];
|
65
65
|
options;
|
66
66
|
level = LOG_LEVEL.ALL;
|
@@ -147,7 +147,7 @@ class LogService extends BaseService_1.BaseService {
|
|
147
147
|
const d = new Date();
|
148
148
|
const logitem = {
|
149
149
|
level: log.level,
|
150
|
-
id:
|
150
|
+
id: LogService.nextID++,
|
151
151
|
text: text,
|
152
152
|
time: d.getTime(),
|
153
153
|
date: this.createDate(d),
|