client_plugin_logic_deb 1.8.471 → 1.8.472
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/Kosi-Kaverit-kaverit.js +77 -77
- package/Kosi-Kodein-kodein-di.js +595 -595
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1631 -1631
- package/Logic_Debertz-ai_module.js +544 -544
- package/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-bot_engine.js +618 -614
- package/Logic_Debertz-bot_engine.js.map +1 -1
- package/Logic_Debertz-client_plugin.d.ts +4 -3
- package/Logic_Debertz-client_plugin.js +3271 -3272
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1901 -1901
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +17728 -17689
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +9591 -9591
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1411 -1411
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +1310 -957
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +22 -22
- package/kotlinx-coroutines-core.js +2591 -2591
- package/kotlinx-io-kotlinx-io-bytestring.js +47 -47
- package/kotlinx-io-kotlinx-io-core.js +582 -582
- package/kotlinx-serialization-kotlinx-serialization-core.js +1956 -1956
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1444 -1444
- package/ktor-ktor-client-content-negotiation.js +158 -158
- package/ktor-ktor-client-core.js +1977 -1977
- package/ktor-ktor-client-logging.js +652 -652
- package/ktor-ktor-events.js +12 -12
- package/ktor-ktor-http-cio.js +372 -372
- package/ktor-ktor-http.js +742 -742
- package/ktor-ktor-io.js +653 -653
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx.js +153 -153
- package/ktor-ktor-serialization.js +72 -72
- package/ktor-ktor-utils.js +701 -701
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +52 -52
- package/package.json +1 -1
- package/random-library-crypto-rand.js +13 -13
- package/random-library-secure-random.js +8 -8
- package/raspberry-cardgame-lib-core.js +224 -224
- package/raspberry-cardgame-lib-logger.js +106 -106
- package/raspberry-cardgame-lib-random.js +865 -865
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +29 -29
|
@@ -12,21 +12,21 @@
|
|
|
12
12
|
}(function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var mutableListOf = kotlin_kotlin.$_$.
|
|
16
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
15
|
+
var mutableListOf = kotlin_kotlin.$_$.d9;
|
|
16
|
+
var protoOf = kotlin_kotlin.$_$.oe;
|
|
17
17
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
18
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
19
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
20
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
18
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.od;
|
|
19
|
+
var Unit_instance = kotlin_kotlin.$_$.l5;
|
|
20
|
+
var initMetadataForClass = kotlin_kotlin.$_$.nd;
|
|
21
21
|
var VOID = kotlin_kotlin.$_$.b;
|
|
22
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
23
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
24
|
-
var Enum = kotlin_kotlin.$_$.
|
|
25
|
-
var printStackTrace = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
27
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
28
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
29
|
-
var toString = kotlin_kotlin.$_$.
|
|
22
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.rd;
|
|
23
|
+
var defineProp = kotlin_kotlin.$_$.ed;
|
|
24
|
+
var Enum = kotlin_kotlin.$_$.si;
|
|
25
|
+
var printStackTrace = kotlin_kotlin.$_$.ek;
|
|
26
|
+
var initMetadataForObject = kotlin_kotlin.$_$.td;
|
|
27
|
+
var isBlank = kotlin_kotlin.$_$.pg;
|
|
28
|
+
var stackTraceToString = kotlin_kotlin.$_$.fk;
|
|
29
|
+
var toString = kotlin_kotlin.$_$.re;
|
|
30
30
|
//endregion
|
|
31
31
|
//region block: pre-declaration
|
|
32
32
|
initMetadataForCompanion(Companion);
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
payload = payload === VOID ? null : payload;
|
|
36
36
|
var tmp;
|
|
37
37
|
if ($super === VOID) {
|
|
38
|
-
this.
|
|
38
|
+
this.d5o(tag, message, payload);
|
|
39
39
|
tmp = Unit_instance;
|
|
40
40
|
} else {
|
|
41
|
-
tmp = $super.
|
|
41
|
+
tmp = $super.d5o.call(this, tag, message, payload);
|
|
42
42
|
}
|
|
43
43
|
return tmp;
|
|
44
44
|
}
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
payload = payload === VOID ? null : payload;
|
|
50
50
|
var tmp;
|
|
51
51
|
if ($super === VOID) {
|
|
52
|
-
this.
|
|
52
|
+
this.e5o(tag, message, exception, payload);
|
|
53
53
|
tmp = Unit_instance;
|
|
54
54
|
} else {
|
|
55
|
-
tmp = $super.
|
|
55
|
+
tmp = $super.e5o.call(this, tag, message, exception, payload);
|
|
56
56
|
}
|
|
57
57
|
return tmp;
|
|
58
58
|
}
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
payload = payload === VOID ? null : payload;
|
|
64
64
|
var tmp;
|
|
65
65
|
if ($super === VOID) {
|
|
66
|
-
this.
|
|
66
|
+
this.f5o(tag, message, exception, payload);
|
|
67
67
|
tmp = Unit_instance;
|
|
68
68
|
} else {
|
|
69
|
-
tmp = $super.
|
|
69
|
+
tmp = $super.f5o.call(this, tag, message, exception, payload);
|
|
70
70
|
}
|
|
71
71
|
return tmp;
|
|
72
72
|
}
|
|
@@ -77,10 +77,10 @@
|
|
|
77
77
|
payload = payload === VOID ? null : payload;
|
|
78
78
|
var tmp;
|
|
79
79
|
if ($super === VOID) {
|
|
80
|
-
this.
|
|
80
|
+
this.g5o(tag, message, exception, payload);
|
|
81
81
|
tmp = Unit_instance;
|
|
82
82
|
} else {
|
|
83
|
-
tmp = $super.
|
|
83
|
+
tmp = $super.g5o.call(this, tag, message, exception, payload);
|
|
84
84
|
}
|
|
85
85
|
return tmp;
|
|
86
86
|
}
|
|
@@ -89,10 +89,10 @@
|
|
|
89
89
|
payload = payload === VOID ? null : payload;
|
|
90
90
|
var tmp;
|
|
91
91
|
if ($super === VOID) {
|
|
92
|
-
this.
|
|
92
|
+
this.h5o(tag, message, payload);
|
|
93
93
|
tmp = Unit_instance;
|
|
94
94
|
} else {
|
|
95
|
-
tmp = $super.
|
|
95
|
+
tmp = $super.h5o.call(this, tag, message, payload);
|
|
96
96
|
}
|
|
97
97
|
return tmp;
|
|
98
98
|
}
|
|
@@ -109,10 +109,10 @@
|
|
|
109
109
|
//endregion
|
|
110
110
|
function Companion() {
|
|
111
111
|
}
|
|
112
|
-
protoOf(Companion).
|
|
112
|
+
protoOf(Companion).a5o = function () {
|
|
113
113
|
return new CombinedRaspberryLogger(mutableListOf([new PlatformRaspberryLogger()]));
|
|
114
114
|
};
|
|
115
|
-
protoOf(Companion).
|
|
115
|
+
protoOf(Companion).gz = function () {
|
|
116
116
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
117
117
|
var tmp$ret$0 = ArrayList_init_$Create$();
|
|
118
118
|
return new CombinedRaspberryLogger(tmp$ret$0);
|
|
@@ -122,46 +122,46 @@
|
|
|
122
122
|
return Companion_instance;
|
|
123
123
|
}
|
|
124
124
|
function CombinedRaspberryLogger(logOutputs) {
|
|
125
|
-
this.
|
|
125
|
+
this.b5o_1 = logOutputs;
|
|
126
126
|
}
|
|
127
|
-
protoOf(CombinedRaspberryLogger).
|
|
128
|
-
this.
|
|
127
|
+
protoOf(CombinedRaspberryLogger).c5o = function (output) {
|
|
128
|
+
this.b5o_1.e1(output);
|
|
129
129
|
};
|
|
130
|
-
protoOf(CombinedRaspberryLogger).
|
|
130
|
+
protoOf(CombinedRaspberryLogger).d5o = function (tag, message, payload) {
|
|
131
131
|
// Inline function 'kotlin.collections.forEach' call
|
|
132
|
-
var _iterator__ex2g4s = this.
|
|
132
|
+
var _iterator__ex2g4s = this.b5o_1.t();
|
|
133
133
|
while (_iterator__ex2g4s.u()) {
|
|
134
134
|
var element = _iterator__ex2g4s.v();
|
|
135
135
|
element.d(tag, message, payload);
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
|
-
protoOf(CombinedRaspberryLogger).
|
|
138
|
+
protoOf(CombinedRaspberryLogger).e5o = function (tag, message, exception, payload) {
|
|
139
139
|
// Inline function 'kotlin.collections.forEach' call
|
|
140
|
-
var _iterator__ex2g4s = this.
|
|
140
|
+
var _iterator__ex2g4s = this.b5o_1.t();
|
|
141
141
|
while (_iterator__ex2g4s.u()) {
|
|
142
142
|
var element = _iterator__ex2g4s.v();
|
|
143
143
|
element.e(tag, message, exception, payload);
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
|
-
protoOf(CombinedRaspberryLogger).
|
|
146
|
+
protoOf(CombinedRaspberryLogger).f5o = function (tag, message, exception, payload) {
|
|
147
147
|
// Inline function 'kotlin.collections.forEach' call
|
|
148
|
-
var _iterator__ex2g4s = this.
|
|
148
|
+
var _iterator__ex2g4s = this.b5o_1.t();
|
|
149
149
|
while (_iterator__ex2g4s.u()) {
|
|
150
150
|
var element = _iterator__ex2g4s.v();
|
|
151
151
|
element.w(tag, message, exception, payload);
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
|
-
protoOf(CombinedRaspberryLogger).
|
|
154
|
+
protoOf(CombinedRaspberryLogger).g5o = function (tag, message, exception, payload) {
|
|
155
155
|
// Inline function 'kotlin.collections.forEach' call
|
|
156
|
-
var _iterator__ex2g4s = this.
|
|
156
|
+
var _iterator__ex2g4s = this.b5o_1.t();
|
|
157
157
|
while (_iterator__ex2g4s.u()) {
|
|
158
158
|
var element = _iterator__ex2g4s.v();
|
|
159
159
|
element.v(tag, message, exception, payload);
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
|
-
protoOf(CombinedRaspberryLogger).
|
|
162
|
+
protoOf(CombinedRaspberryLogger).h5o = function (tag, message, payload) {
|
|
163
163
|
// Inline function 'kotlin.collections.forEach' call
|
|
164
|
-
var _iterator__ex2g4s = this.
|
|
164
|
+
var _iterator__ex2g4s = this.b5o_1.t();
|
|
165
165
|
while (_iterator__ex2g4s.u()) {
|
|
166
166
|
var element = _iterator__ex2g4s.v();
|
|
167
167
|
element.i(tag, message, payload);
|
|
@@ -173,38 +173,38 @@
|
|
|
173
173
|
}
|
|
174
174
|
function PlatformRaspberryLogger(enabled) {
|
|
175
175
|
enabled = enabled === VOID ? true : enabled;
|
|
176
|
-
this.
|
|
176
|
+
this.k5o_1 = enabled;
|
|
177
177
|
}
|
|
178
|
-
protoOf(PlatformRaspberryLogger).
|
|
179
|
-
this.
|
|
178
|
+
protoOf(PlatformRaspberryLogger).i5o = function (_set____db54di) {
|
|
179
|
+
this.k5o_1 = _set____db54di;
|
|
180
180
|
};
|
|
181
|
-
protoOf(PlatformRaspberryLogger).
|
|
182
|
-
return this.
|
|
181
|
+
protoOf(PlatformRaspberryLogger).j5o = function () {
|
|
182
|
+
return this.k5o_1;
|
|
183
183
|
};
|
|
184
|
-
protoOf(PlatformRaspberryLogger).
|
|
185
|
-
if (!this.
|
|
184
|
+
protoOf(PlatformRaspberryLogger).d5o = function (tag, message, payload) {
|
|
185
|
+
if (!this.k5o_1)
|
|
186
186
|
return Unit_instance;
|
|
187
|
-
Logger_getInstance().
|
|
187
|
+
Logger_getInstance().o5o(tag, message);
|
|
188
188
|
};
|
|
189
|
-
protoOf(PlatformRaspberryLogger).
|
|
190
|
-
if (!this.
|
|
189
|
+
protoOf(PlatformRaspberryLogger).e5o = function (tag, message, exception, payload) {
|
|
190
|
+
if (!this.k5o_1)
|
|
191
191
|
return Unit_instance;
|
|
192
|
-
Logger_getInstance().
|
|
192
|
+
Logger_getInstance().p5o(tag, message, exception);
|
|
193
193
|
};
|
|
194
|
-
protoOf(PlatformRaspberryLogger).
|
|
195
|
-
if (!this.
|
|
194
|
+
protoOf(PlatformRaspberryLogger).f5o = function (tag, message, exception, payload) {
|
|
195
|
+
if (!this.k5o_1)
|
|
196
196
|
return Unit_instance;
|
|
197
|
-
Logger_getInstance().
|
|
197
|
+
Logger_getInstance().q5o(tag, message, exception);
|
|
198
198
|
};
|
|
199
|
-
protoOf(PlatformRaspberryLogger).
|
|
200
|
-
if (!this.
|
|
199
|
+
protoOf(PlatformRaspberryLogger).g5o = function (tag, message, exception, payload) {
|
|
200
|
+
if (!this.k5o_1)
|
|
201
201
|
return Unit_instance;
|
|
202
|
-
Logger_getInstance().
|
|
202
|
+
Logger_getInstance().r5o(tag, message, exception);
|
|
203
203
|
};
|
|
204
|
-
protoOf(PlatformRaspberryLogger).
|
|
205
|
-
if (!this.
|
|
204
|
+
protoOf(PlatformRaspberryLogger).h5o = function (tag, message, payload) {
|
|
205
|
+
if (!this.k5o_1)
|
|
206
206
|
return Unit_instance;
|
|
207
|
-
Logger_getInstance().
|
|
207
|
+
Logger_getInstance().r5o(tag, message);
|
|
208
208
|
};
|
|
209
209
|
function RaspberryLogger() {
|
|
210
210
|
}
|
|
@@ -221,26 +221,26 @@
|
|
|
221
221
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
222
222
|
}
|
|
223
223
|
function generateTag($this, tag) {
|
|
224
|
-
return !($this.
|
|
224
|
+
return !($this.n5o_1 == null) && !(tag == null) ? '' + $this.n5o_1 + ':' + tag : tag;
|
|
225
225
|
}
|
|
226
226
|
function Category(name, ordinal, isEnabled) {
|
|
227
227
|
Enum.call(this, name, ordinal);
|
|
228
|
-
this.
|
|
228
|
+
this.u5o_1 = isEnabled;
|
|
229
229
|
}
|
|
230
230
|
function Logger$loggerSource$1() {
|
|
231
|
-
this.
|
|
231
|
+
this.v5o_1 = new PlatformLogger();
|
|
232
232
|
}
|
|
233
|
-
protoOf(Logger$loggerSource$1).
|
|
234
|
-
this.
|
|
233
|
+
protoOf(Logger$loggerSource$1).w5o = function (tag, msg) {
|
|
234
|
+
this.v5o_1.w5o(tag, msg);
|
|
235
235
|
};
|
|
236
|
-
protoOf(Logger$loggerSource$1).
|
|
237
|
-
this.
|
|
236
|
+
protoOf(Logger$loggerSource$1).x5o = function (tag, msg, exception) {
|
|
237
|
+
this.v5o_1.x5o(tag, msg, exception);
|
|
238
238
|
};
|
|
239
|
-
protoOf(Logger$loggerSource$1).
|
|
240
|
-
this.
|
|
239
|
+
protoOf(Logger$loggerSource$1).y5o = function (tag, msg, exception) {
|
|
240
|
+
this.v5o_1.y5o(tag, msg, exception);
|
|
241
241
|
};
|
|
242
|
-
protoOf(Logger$loggerSource$1).
|
|
243
|
-
this.
|
|
242
|
+
protoOf(Logger$loggerSource$1).z5o = function (tag, msg, exception) {
|
|
243
|
+
this.v5o_1.z5o(tag, msg, exception);
|
|
244
244
|
};
|
|
245
245
|
function Category_NONE_getInstance() {
|
|
246
246
|
Category_initEntries();
|
|
@@ -249,97 +249,97 @@
|
|
|
249
249
|
function Logger() {
|
|
250
250
|
Logger_instance = this;
|
|
251
251
|
var tmp = this;
|
|
252
|
-
tmp.
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
252
|
+
tmp.l5o_1 = new Logger$loggerSource$1();
|
|
253
|
+
this.m5o_1 = true;
|
|
254
|
+
this.n5o_1 = null;
|
|
255
255
|
}
|
|
256
|
-
protoOf(Logger).
|
|
257
|
-
this.
|
|
256
|
+
protoOf(Logger).o5o = function (tag, message) {
|
|
257
|
+
this.a5p(tag, message, Category_NONE_getInstance());
|
|
258
258
|
};
|
|
259
|
-
protoOf(Logger).
|
|
260
|
-
if (this.
|
|
259
|
+
protoOf(Logger).b5p = function (tag, message, exception, category) {
|
|
260
|
+
if (this.m5o_1 && category.u5o_1) {
|
|
261
261
|
if (exception == null)
|
|
262
262
|
null;
|
|
263
263
|
else {
|
|
264
264
|
printStackTrace(exception);
|
|
265
265
|
}
|
|
266
|
-
this.
|
|
266
|
+
this.l5o_1.y5o(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
|
-
protoOf(Logger).
|
|
269
|
+
protoOf(Logger).q5o = function (tag, message, exception, category, $super) {
|
|
270
270
|
tag = tag === VOID ? null : tag;
|
|
271
271
|
message = message === VOID ? null : message;
|
|
272
272
|
exception = exception === VOID ? null : exception;
|
|
273
273
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
274
274
|
var tmp;
|
|
275
275
|
if ($super === VOID) {
|
|
276
|
-
this.
|
|
276
|
+
this.b5p(tag, message, exception, category);
|
|
277
277
|
tmp = Unit_instance;
|
|
278
278
|
} else {
|
|
279
|
-
tmp = $super.
|
|
279
|
+
tmp = $super.b5p.call(this, tag, message, exception, category);
|
|
280
280
|
}
|
|
281
281
|
return tmp;
|
|
282
282
|
};
|
|
283
|
-
protoOf(Logger).
|
|
284
|
-
if (this.
|
|
285
|
-
this.
|
|
283
|
+
protoOf(Logger).a5p = function (tag, message, category) {
|
|
284
|
+
if (this.m5o_1 && category.u5o_1) {
|
|
285
|
+
this.l5o_1.w5o(generateTag(this, tag), message);
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
|
-
protoOf(Logger).
|
|
289
|
-
if (this.
|
|
290
|
-
this.
|
|
288
|
+
protoOf(Logger).c5p = function (tag, message, exception, category) {
|
|
289
|
+
if (this.m5o_1 && category.u5o_1) {
|
|
290
|
+
this.l5o_1.z5o(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
|
-
protoOf(Logger).
|
|
293
|
+
protoOf(Logger).r5o = function (tag, message, exception, category, $super) {
|
|
294
294
|
tag = tag === VOID ? null : tag;
|
|
295
295
|
message = message === VOID ? null : message;
|
|
296
296
|
exception = exception === VOID ? null : exception;
|
|
297
297
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
298
298
|
var tmp;
|
|
299
299
|
if ($super === VOID) {
|
|
300
|
-
this.
|
|
300
|
+
this.c5p(tag, message, exception, category);
|
|
301
301
|
tmp = Unit_instance;
|
|
302
302
|
} else {
|
|
303
|
-
tmp = $super.
|
|
303
|
+
tmp = $super.c5p.call(this, tag, message, exception, category);
|
|
304
304
|
}
|
|
305
305
|
return tmp;
|
|
306
306
|
};
|
|
307
|
-
protoOf(Logger).
|
|
308
|
-
if (this.
|
|
307
|
+
protoOf(Logger).d5p = function (tag, message, exception, category) {
|
|
308
|
+
if (this.m5o_1 && category.u5o_1) {
|
|
309
309
|
if (exception == null)
|
|
310
310
|
null;
|
|
311
311
|
else {
|
|
312
312
|
printStackTrace(exception);
|
|
313
313
|
}
|
|
314
|
-
this.
|
|
314
|
+
this.l5o_1.x5o(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
315
315
|
}
|
|
316
316
|
};
|
|
317
|
-
protoOf(Logger).
|
|
317
|
+
protoOf(Logger).p5o = function (tag, message, exception, category, $super) {
|
|
318
318
|
tag = tag === VOID ? null : tag;
|
|
319
319
|
message = message === VOID ? null : message;
|
|
320
320
|
exception = exception === VOID ? null : exception;
|
|
321
321
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
322
322
|
var tmp;
|
|
323
323
|
if ($super === VOID) {
|
|
324
|
-
this.
|
|
324
|
+
this.d5p(tag, message, exception, category);
|
|
325
325
|
tmp = Unit_instance;
|
|
326
326
|
} else {
|
|
327
|
-
tmp = $super.
|
|
327
|
+
tmp = $super.d5p.call(this, tag, message, exception, category);
|
|
328
328
|
}
|
|
329
329
|
return tmp;
|
|
330
330
|
};
|
|
331
|
-
protoOf(Logger).
|
|
332
|
-
this.
|
|
331
|
+
protoOf(Logger).e5p = function (tag, exception) {
|
|
332
|
+
this.p5o(tag, null, exception);
|
|
333
333
|
};
|
|
334
|
-
protoOf(Logger).
|
|
334
|
+
protoOf(Logger).f5p = function (tag, exception, $super) {
|
|
335
335
|
tag = tag === VOID ? null : tag;
|
|
336
336
|
exception = exception === VOID ? null : exception;
|
|
337
337
|
var tmp;
|
|
338
338
|
if ($super === VOID) {
|
|
339
|
-
this.
|
|
339
|
+
this.e5p(tag, exception);
|
|
340
340
|
tmp = Unit_instance;
|
|
341
341
|
} else {
|
|
342
|
-
tmp = $super.
|
|
342
|
+
tmp = $super.e5p.call(this, tag, exception);
|
|
343
343
|
}
|
|
344
344
|
return tmp;
|
|
345
345
|
};
|
|
@@ -371,22 +371,22 @@
|
|
|
371
371
|
}
|
|
372
372
|
function PlatformLogger() {
|
|
373
373
|
}
|
|
374
|
-
protoOf(PlatformLogger).
|
|
374
|
+
protoOf(PlatformLogger).w5o = function (tag, msg) {
|
|
375
375
|
console.log('D:' + getLogTag(tag) + ': ' + msg);
|
|
376
376
|
};
|
|
377
|
-
protoOf(PlatformLogger).
|
|
377
|
+
protoOf(PlatformLogger).x5o = function (tag, msg, exception) {
|
|
378
378
|
if (!(exception == null)) {
|
|
379
379
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception.toString());
|
|
380
380
|
} else {
|
|
381
381
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
|
-
protoOf(PlatformLogger).
|
|
384
|
+
protoOf(PlatformLogger).y5o = function (tag, msg, exception) {
|
|
385
385
|
var tmp = console;
|
|
386
386
|
var tmp_0 = getLogTag(tag);
|
|
387
387
|
tmp.warn(tmp_0 + ': ' + msg + ' ' + toString(exception == null ? '' : exception));
|
|
388
388
|
};
|
|
389
|
-
protoOf(PlatformLogger).
|
|
389
|
+
protoOf(PlatformLogger).z5o = function (tag, msg, exception) {
|
|
390
390
|
var tmp = console;
|
|
391
391
|
var tmp_0 = getLogTag(tag);
|
|
392
392
|
tmp.log('V:' + tmp_0 + ': ' + msg + ' ' + toString(exception == null ? '' : exception));
|
|
@@ -403,9 +403,9 @@
|
|
|
403
403
|
protoOf(PlatformRaspberryLogger).v = v;
|
|
404
404
|
protoOf(PlatformRaspberryLogger).i = i;
|
|
405
405
|
defineProp(protoOf(PlatformRaspberryLogger), 'enabled', function () {
|
|
406
|
-
return this.
|
|
406
|
+
return this.j5o();
|
|
407
407
|
}, function (value) {
|
|
408
|
-
this.
|
|
408
|
+
this.i5o(value);
|
|
409
409
|
});
|
|
410
410
|
//endregion
|
|
411
411
|
//region block: init
|