mrs-toolbox-cli 0.0.88 → 0.0.92
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/88b0986a7186d029-atomicfu-js-ir.js +47 -65
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +632 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
- package/clikt-clikt.js +6454 -0
- package/clikt-clikt.js.map +1 -0
- package/colormath-root-colormath.js +1367 -0
- package/colormath-root-colormath.js.map +1 -0
- package/com.mrs.platform.configuration.dto.js +5943 -7092
- package/com.mrs.platform.configuration.dto.js.map +1 -1
- package/{kotlin-kotlin-stdlib-js-ir.js → kotlin-kotlin-stdlib.js} +12925 -13905
- package/kotlin-kotlin-stdlib.js.map +1 -0
- package/kotlin-logging-js-ir.js +68 -106
- package/kotlin-logging-js-ir.js.map +1 -1
- package/kotlin-node.js +1 -2
- package/kotlin-node.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +8 -0
- package/{Kotlin-DateTime-library-kotlinx-datetime-js-ir.js → kotlinx-html.js} +1 -1
- package/kotlinx-html.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js +6053 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js +4903 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2575 -3426
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +280 -290
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +3006 -3347
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +20 -25
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http.js +1184 -1662
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +2091 -2972
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +12 -13
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx.js +359 -388
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +146 -143
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +702 -900
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +92 -106
- package/ktor-ktor-websockets.js.map +1 -1
- package/markdown.js +6653 -0
- package/markdown.js.map +1 -0
- package/mordant-mordant.js +11785 -0
- package/mordant-mordant.js.map +1 -0
- package/mrs-toolbox-cli.d.ts +190 -87
- package/mrs-toolbox-cli.js +169 -169
- package/mrs-toolbox-cli.js.map +1 -1
- package/package.json +3 -2
- package/toolbox.js +5442 -6632
- package/toolbox.js.map +1 -1
- package/88b0986a7186d029-atomicfu-js-ir.js.hash +0 -1
- package/88b0986a7186d029-atomicfu-js-ir.js.map.hash +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.hash +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map.hash +0 -1
- package/clikt-clikt-js-ir.js +0 -7044
- package/clikt-clikt-js-ir.js.hash +0 -1
- package/clikt-clikt-js-ir.js.map +0 -1
- package/clikt-clikt-js-ir.js.map.hash +0 -1
- package/com.mrs.platform.configuration.dto.js.hash +0 -1
- package/com.mrs.platform.configuration.dto.js.map.hash +0 -1
- package/kotlin-js.js.hash +0 -1
- package/kotlin-js.js.map.hash +0 -1
- package/kotlin-kotlin-stdlib-js-ir.js.hash +0 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map +0 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map.hash +0 -1
- package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.hash +0 -1
- package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map.hash +0 -1
- package/kotlin-logging-js-ir.js.hash +0 -1
- package/kotlin-logging-js-ir.js.map.hash +0 -1
- package/kotlin-node.js.hash +0 -1
- package/kotlin-node.js.map.hash +0 -1
- package/kotlin-web.js.hash +0 -1
- package/kotlin-web.js.map.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +0 -6431
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +0 -5101
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +0 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.hash +0 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map.hash +0 -1
- package/ktor-ktor-client-content-negotiation.js.hash +0 -1
- package/ktor-ktor-client-content-negotiation.js.map.hash +0 -1
- package/ktor-ktor-client-core.js.hash +0 -1
- package/ktor-ktor-client-core.js.map.hash +0 -1
- package/ktor-ktor-events.js.hash +0 -1
- package/ktor-ktor-events.js.map.hash +0 -1
- package/ktor-ktor-http.js.hash +0 -1
- package/ktor-ktor-http.js.map.hash +0 -1
- package/ktor-ktor-io.js.hash +0 -1
- package/ktor-ktor-io.js.map.hash +0 -1
- package/ktor-ktor-serialization-kotlinx-json.js.hash +0 -1
- package/ktor-ktor-serialization-kotlinx-json.js.map.hash +0 -1
- package/ktor-ktor-serialization-kotlinx.js.hash +0 -1
- package/ktor-ktor-serialization-kotlinx.js.map.hash +0 -1
- package/ktor-ktor-serialization.js.hash +0 -1
- package/ktor-ktor-serialization.js.map.hash +0 -1
- package/ktor-ktor-utils.js.hash +0 -1
- package/ktor-ktor-utils.js.map.hash +0 -1
- package/ktor-ktor-websocket-serialization.js.hash +0 -1
- package/ktor-ktor-websocket-serialization.js.map.hash +0 -1
- package/ktor-ktor-websockets.js.hash +0 -1
- package/ktor-ktor-websockets.js.map.hash +0 -1
- package/mrs-toolbox-cli.d.ts.hash +0 -1
- package/mrs-toolbox-cli.js.hash +0 -1
- package/mrs-toolbox-cli.js.map.hash +0 -1
- package/static/access.query.txt.hash +0 -1
- package/static/demo.test.ts.txt.hash +0 -1
- package/static/git.ignore.hash +0 -1
- package/static/graph.query.txt.hash +0 -1
- package/static/hook.ts.txt.hash +0 -1
- package/static/mrscconfig.json.hash +0 -1
- package/static/readme.md.hash +0 -1
- package/static/tsconfig.json.txt.hash +0 -1
- package/toolbox.js.hash +0 -1
- package/toolbox.js.map.hash +0 -1
- /package/{Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map → kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map} +0 -0
package/kotlin-logging-js-ir.js
CHANGED
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var Exception_init_$Create$ = kotlin_kotlin.$_$.
|
|
5
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
6
|
-
var split = kotlin_kotlin.$_$.
|
|
7
|
-
var substringBefore = kotlin_kotlin.$_$.
|
|
8
|
-
var substringAfterLast = kotlin_kotlin.$_$.
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var Exception = kotlin_kotlin.$_$.ke;
|
|
4
|
+
var Exception_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
5
|
+
var stackTraceToString = kotlin_kotlin.$_$.nh;
|
|
6
|
+
var split = kotlin_kotlin.$_$.ue;
|
|
7
|
+
var substringBefore = kotlin_kotlin.$_$.af;
|
|
8
|
+
var substringAfterLast = kotlin_kotlin.$_$.xe;
|
|
9
|
+
var contains = kotlin_kotlin.$_$.md;
|
|
10
|
+
var protoOf = kotlin_kotlin.$_$.dc;
|
|
11
|
+
var objectMeta = kotlin_kotlin.$_$.cc;
|
|
12
|
+
var setMetadataFor = kotlin_kotlin.$_$.ec;
|
|
13
|
+
var Unit_instance = kotlin_kotlin.$_$.g5;
|
|
14
|
+
var Enum = kotlin_kotlin.$_$.cg;
|
|
15
|
+
var classMeta = kotlin_kotlin.$_$.va;
|
|
16
|
+
var toString = kotlin_kotlin.$_$.ph;
|
|
17
|
+
var Exception = kotlin_kotlin.$_$.eg;
|
|
19
18
|
//endregion
|
|
20
19
|
//region block: pre-declaration
|
|
21
20
|
setMetadataFor(KotlinLogging, 'KotlinLogging', objectMeta);
|
|
22
21
|
setMetadataFor(Level, 'Level', classMeta, Enum);
|
|
23
|
-
setMetadataFor(Levels, 'Levels', objectMeta);
|
|
24
22
|
setMetadataFor(DefaultErrorMessageProducer, 'DefaultErrorMessageProducer', objectMeta);
|
|
25
23
|
setMetadataFor(ConsoleOutputAppender, 'ConsoleOutputAppender', objectMeta);
|
|
26
24
|
setMetadataFor(DefaultMessageFormatter, 'DefaultMessageFormatter', objectMeta);
|
|
@@ -30,18 +28,16 @@
|
|
|
30
28
|
setMetadataFor(KLoggerNameResolver, 'KLoggerNameResolver', objectMeta);
|
|
31
29
|
//endregion
|
|
32
30
|
function KotlinLogging() {
|
|
33
|
-
KotlinLogging_instance = this;
|
|
34
31
|
}
|
|
35
|
-
protoOf(KotlinLogging).
|
|
32
|
+
protoOf(KotlinLogging).g4z = function (func) {
|
|
36
33
|
var tmp$ret$0;
|
|
37
34
|
$l$block: {
|
|
38
35
|
// Inline function 'io.github.oshai.kotlinlogging.internal.KLoggerNameResolver.name' call
|
|
39
|
-
var tmp0_name = KLoggerNameResolver_getInstance();
|
|
40
36
|
var found = false;
|
|
41
37
|
var exception = Exception_init_$Create$();
|
|
42
|
-
var tmp0_iterator = split(stackTraceToString(exception), ['\n']).
|
|
43
|
-
while (tmp0_iterator.
|
|
44
|
-
var line = tmp0_iterator.
|
|
38
|
+
var tmp0_iterator = split(stackTraceToString(exception), ['\n']).v();
|
|
39
|
+
while (tmp0_iterator.w()) {
|
|
40
|
+
var line = tmp0_iterator.y();
|
|
45
41
|
if (found) {
|
|
46
42
|
tmp$ret$0 = substringAfterLast(substringAfterLast(substringBefore(line, '.kt'), '.'), '/');
|
|
47
43
|
break $l$block;
|
|
@@ -52,19 +48,14 @@
|
|
|
52
48
|
}
|
|
53
49
|
tmp$ret$0 = '';
|
|
54
50
|
}
|
|
55
|
-
return this.
|
|
51
|
+
return this.h4z(tmp$ret$0);
|
|
56
52
|
};
|
|
57
|
-
protoOf(KotlinLogging).
|
|
58
|
-
var tmp$ret$0;
|
|
53
|
+
protoOf(KotlinLogging).h4z = function (name) {
|
|
59
54
|
// Inline function 'io.github.oshai.kotlinlogging.internal.KLoggerFactory.logger' call
|
|
60
|
-
|
|
61
|
-
tmp$ret$0 = new KLoggerJS(name);
|
|
62
|
-
return tmp$ret$0;
|
|
55
|
+
return new KLoggerJS(name);
|
|
63
56
|
};
|
|
64
57
|
var KotlinLogging_instance;
|
|
65
58
|
function KotlinLogging_getInstance() {
|
|
66
|
-
if (KotlinLogging_instance == null)
|
|
67
|
-
new KotlinLogging();
|
|
68
59
|
return KotlinLogging_instance;
|
|
69
60
|
}
|
|
70
61
|
var Level_TRACE_instance;
|
|
@@ -76,44 +67,23 @@
|
|
|
76
67
|
var Level_entriesInitialized;
|
|
77
68
|
function Level_initEntries() {
|
|
78
69
|
if (Level_entriesInitialized)
|
|
79
|
-
return
|
|
70
|
+
return Unit_instance;
|
|
80
71
|
Level_entriesInitialized = true;
|
|
81
|
-
Levels_getInstance();
|
|
82
72
|
Level_TRACE_instance = new Level('TRACE', 0, 0, 'TRACE');
|
|
83
|
-
Levels_getInstance();
|
|
84
73
|
Level_DEBUG_instance = new Level('DEBUG', 1, 10, 'DEBUG');
|
|
85
|
-
Levels_getInstance();
|
|
86
74
|
Level_INFO_instance = new Level('INFO', 2, 20, 'INFO');
|
|
87
|
-
Levels_getInstance();
|
|
88
75
|
Level_WARN_instance = new Level('WARN', 3, 30, 'WARN');
|
|
89
|
-
Levels_getInstance();
|
|
90
76
|
Level_ERROR_instance = new Level('ERROR', 4, 40, 'ERROR');
|
|
91
|
-
Levels_getInstance();
|
|
92
77
|
Level_OFF_instance = new Level('OFF', 5, 50, 'OFF');
|
|
93
78
|
}
|
|
94
79
|
function Level(name, ordinal, levelInt, levelStr) {
|
|
95
80
|
Enum.call(this, name, ordinal);
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
81
|
+
this.k4z_1 = levelInt;
|
|
82
|
+
this.l4z_1 = levelStr;
|
|
98
83
|
}
|
|
99
84
|
protoOf(Level).toString = function () {
|
|
100
|
-
return this.
|
|
85
|
+
return this.l4z_1;
|
|
101
86
|
};
|
|
102
|
-
function Levels() {
|
|
103
|
-
Levels_instance = this;
|
|
104
|
-
this.w58_1 = 0;
|
|
105
|
-
this.x58_1 = 10;
|
|
106
|
-
this.y58_1 = 20;
|
|
107
|
-
this.z58_1 = 30;
|
|
108
|
-
this.a59_1 = 40;
|
|
109
|
-
this.b59_1 = 50;
|
|
110
|
-
}
|
|
111
|
-
var Levels_instance;
|
|
112
|
-
function Levels_getInstance() {
|
|
113
|
-
if (Levels_instance == null)
|
|
114
|
-
new Levels();
|
|
115
|
-
return Levels_instance;
|
|
116
|
-
}
|
|
117
87
|
function Level_TRACE_getInstance() {
|
|
118
88
|
Level_initEntries();
|
|
119
89
|
return Level_TRACE_instance;
|
|
@@ -139,40 +109,32 @@
|
|
|
139
109
|
return Level_OFF_instance;
|
|
140
110
|
}
|
|
141
111
|
function DefaultErrorMessageProducer() {
|
|
142
|
-
DefaultErrorMessageProducer_instance = this;
|
|
143
112
|
}
|
|
144
|
-
protoOf(DefaultErrorMessageProducer).
|
|
113
|
+
protoOf(DefaultErrorMessageProducer).m4z = function (e) {
|
|
145
114
|
return 'Log message invocation failed: ' + e;
|
|
146
115
|
};
|
|
147
116
|
var DefaultErrorMessageProducer_instance;
|
|
148
117
|
function DefaultErrorMessageProducer_getInstance() {
|
|
149
|
-
if (DefaultErrorMessageProducer_instance == null)
|
|
150
|
-
new DefaultErrorMessageProducer();
|
|
151
118
|
return DefaultErrorMessageProducer_instance;
|
|
152
119
|
}
|
|
153
120
|
function ConsoleOutputAppender() {
|
|
154
|
-
ConsoleOutputAppender_instance = this;
|
|
155
121
|
}
|
|
156
|
-
protoOf(ConsoleOutputAppender).
|
|
122
|
+
protoOf(ConsoleOutputAppender).n4z = function (message) {
|
|
157
123
|
return console.info(message);
|
|
158
124
|
};
|
|
159
|
-
protoOf(ConsoleOutputAppender).
|
|
125
|
+
protoOf(ConsoleOutputAppender).o4z = function (message) {
|
|
160
126
|
return console.warn(message);
|
|
161
127
|
};
|
|
162
|
-
protoOf(ConsoleOutputAppender).
|
|
128
|
+
protoOf(ConsoleOutputAppender).p4z = function (message) {
|
|
163
129
|
return console.error(message);
|
|
164
130
|
};
|
|
165
131
|
var ConsoleOutputAppender_instance;
|
|
166
132
|
function ConsoleOutputAppender_getInstance() {
|
|
167
|
-
if (ConsoleOutputAppender_instance == null)
|
|
168
|
-
new ConsoleOutputAppender();
|
|
169
133
|
return ConsoleOutputAppender_instance;
|
|
170
134
|
}
|
|
171
135
|
function DefaultMessageFormatter() {
|
|
172
|
-
DefaultMessageFormatter_instance = this;
|
|
173
136
|
}
|
|
174
|
-
protoOf(DefaultMessageFormatter).
|
|
175
|
-
var tmp$ret$0;
|
|
137
|
+
protoOf(DefaultMessageFormatter).q4z = function (level, loggerName, msg) {
|
|
176
138
|
// Inline function 'io.github.oshai.kotlinlogging.internal.toStringSafe' call
|
|
177
139
|
var tmp;
|
|
178
140
|
try {
|
|
@@ -181,26 +143,24 @@
|
|
|
181
143
|
var tmp_0;
|
|
182
144
|
if ($p instanceof Exception) {
|
|
183
145
|
var e = $p;
|
|
184
|
-
tmp_0 =
|
|
146
|
+
tmp_0 = DefaultErrorMessageProducer_instance.m4z(e);
|
|
185
147
|
} else {
|
|
186
148
|
throw $p;
|
|
187
149
|
}
|
|
188
150
|
tmp = tmp_0;
|
|
189
151
|
}
|
|
190
|
-
tmp$ret$0 = tmp;
|
|
191
|
-
return level.
|
|
152
|
+
var tmp$ret$0 = tmp;
|
|
153
|
+
return level.v9_1 + ': [' + loggerName + '] ' + tmp$ret$0;
|
|
192
154
|
};
|
|
193
155
|
var DefaultMessageFormatter_instance;
|
|
194
156
|
function DefaultMessageFormatter_getInstance() {
|
|
195
|
-
if (DefaultMessageFormatter_instance == null)
|
|
196
|
-
new DefaultMessageFormatter();
|
|
197
157
|
return DefaultMessageFormatter_instance;
|
|
198
158
|
}
|
|
199
159
|
function KotlinLoggingConfiguration() {
|
|
200
160
|
KotlinLoggingConfiguration_instance = this;
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
203
|
-
this.
|
|
161
|
+
this.r4z_1 = Level_INFO_getInstance();
|
|
162
|
+
this.s4z_1 = ConsoleOutputAppender_instance;
|
|
163
|
+
this.t4z_1 = DefaultMessageFormatter_instance;
|
|
204
164
|
}
|
|
205
165
|
var KotlinLoggingConfiguration_instance;
|
|
206
166
|
function KotlinLoggingConfiguration_getInstance() {
|
|
@@ -209,81 +169,83 @@
|
|
|
209
169
|
return KotlinLoggingConfiguration_instance;
|
|
210
170
|
}
|
|
211
171
|
function isLoggingEnabled(_this__u8e3s4) {
|
|
212
|
-
return _this__u8e3s4.
|
|
172
|
+
return _this__u8e3s4.w9_1 >= KotlinLoggingConfiguration_getInstance().r4z_1.w9_1;
|
|
213
173
|
}
|
|
214
174
|
function KLoggerFactory() {
|
|
215
|
-
KLoggerFactory_instance = this;
|
|
216
175
|
}
|
|
217
176
|
var KLoggerFactory_instance;
|
|
218
177
|
function KLoggerFactory_getInstance() {
|
|
219
|
-
if (KLoggerFactory_instance == null)
|
|
220
|
-
new KLoggerFactory();
|
|
221
178
|
return KLoggerFactory_instance;
|
|
222
179
|
}
|
|
223
180
|
function logIfEnabled(_this__u8e3s4, $this, loggerName, msg, logFunction) {
|
|
224
181
|
if (isLoggingEnabled(_this__u8e3s4)) {
|
|
225
|
-
logFunction(KotlinLoggingConfiguration_getInstance().
|
|
182
|
+
logFunction(KotlinLoggingConfiguration_getInstance().t4z_1.q4z(_this__u8e3s4, loggerName, msg));
|
|
226
183
|
}
|
|
227
184
|
}
|
|
228
185
|
function Appender$info$ref($boundThis) {
|
|
229
186
|
var l = function (p0) {
|
|
230
|
-
$boundThis.
|
|
231
|
-
return
|
|
187
|
+
$boundThis.n4z(p0);
|
|
188
|
+
return Unit_instance;
|
|
232
189
|
};
|
|
233
190
|
l.callableName = 'info';
|
|
234
191
|
return l;
|
|
235
192
|
}
|
|
236
193
|
function Appender$warn$ref($boundThis) {
|
|
237
194
|
var l = function (p0) {
|
|
238
|
-
$boundThis.
|
|
239
|
-
return
|
|
195
|
+
$boundThis.o4z(p0);
|
|
196
|
+
return Unit_instance;
|
|
240
197
|
};
|
|
241
198
|
l.callableName = 'warn';
|
|
242
199
|
return l;
|
|
243
200
|
}
|
|
244
201
|
function Appender$error$ref($boundThis) {
|
|
245
202
|
var l = function (p0) {
|
|
246
|
-
$boundThis.
|
|
247
|
-
return
|
|
203
|
+
$boundThis.p4z(p0);
|
|
204
|
+
return Unit_instance;
|
|
248
205
|
};
|
|
249
206
|
l.callableName = 'error';
|
|
250
207
|
return l;
|
|
251
208
|
}
|
|
252
209
|
function KLoggerJS(name) {
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
259
|
-
this.
|
|
260
|
-
}
|
|
261
|
-
protoOf(KLoggerJS).
|
|
210
|
+
this.u4z_1 = name;
|
|
211
|
+
this.v4z_1 = isLoggingEnabled(Level_TRACE_getInstance());
|
|
212
|
+
this.w4z_1 = isLoggingEnabled(Level_DEBUG_getInstance());
|
|
213
|
+
this.x4z_1 = isLoggingEnabled(Level_INFO_getInstance());
|
|
214
|
+
this.y4z_1 = isLoggingEnabled(Level_WARN_getInstance());
|
|
215
|
+
this.z4z_1 = isLoggingEnabled(Level_ERROR_getInstance());
|
|
216
|
+
this.a50_1 = isLoggingEnabled(Level_OFF_getInstance());
|
|
217
|
+
}
|
|
218
|
+
protoOf(KLoggerJS).b50 = function (msg) {
|
|
262
219
|
var tmp = Level_INFO_getInstance();
|
|
263
|
-
return logIfEnabled(tmp, this, this.
|
|
220
|
+
return logIfEnabled(tmp, this, this.u4z_1, msg, Appender$info$ref(KotlinLoggingConfiguration_getInstance().s4z_1));
|
|
264
221
|
};
|
|
265
|
-
protoOf(KLoggerJS).
|
|
222
|
+
protoOf(KLoggerJS).c50 = function (msg) {
|
|
266
223
|
var tmp = Level_WARN_getInstance();
|
|
267
|
-
return logIfEnabled(tmp, this, this.
|
|
224
|
+
return logIfEnabled(tmp, this, this.u4z_1, msg, Appender$warn$ref(KotlinLoggingConfiguration_getInstance().s4z_1));
|
|
268
225
|
};
|
|
269
|
-
protoOf(KLoggerJS).
|
|
226
|
+
protoOf(KLoggerJS).d50 = function (msg) {
|
|
270
227
|
var tmp = Level_ERROR_getInstance();
|
|
271
|
-
return logIfEnabled(tmp, this, this.
|
|
228
|
+
return logIfEnabled(tmp, this, this.u4z_1, msg, Appender$error$ref(KotlinLoggingConfiguration_getInstance().s4z_1));
|
|
272
229
|
};
|
|
273
230
|
function KLoggerNameResolver() {
|
|
274
|
-
KLoggerNameResolver_instance = this;
|
|
275
231
|
}
|
|
276
232
|
var KLoggerNameResolver_instance;
|
|
277
233
|
function KLoggerNameResolver_getInstance() {
|
|
278
|
-
if (KLoggerNameResolver_instance == null)
|
|
279
|
-
new KLoggerNameResolver();
|
|
280
234
|
return KLoggerNameResolver_instance;
|
|
281
235
|
}
|
|
236
|
+
//region block: init
|
|
237
|
+
KotlinLogging_instance = new KotlinLogging();
|
|
238
|
+
DefaultErrorMessageProducer_instance = new DefaultErrorMessageProducer();
|
|
239
|
+
ConsoleOutputAppender_instance = new ConsoleOutputAppender();
|
|
240
|
+
DefaultMessageFormatter_instance = new DefaultMessageFormatter();
|
|
241
|
+
KLoggerFactory_instance = new KLoggerFactory();
|
|
242
|
+
KLoggerNameResolver_instance = new KLoggerNameResolver();
|
|
243
|
+
//endregion
|
|
282
244
|
//region block: exports
|
|
283
245
|
_.$_$ = _.$_$ || {};
|
|
284
|
-
_.$_$.a =
|
|
246
|
+
_.$_$.a = KotlinLogging_instance;
|
|
285
247
|
//endregion
|
|
286
248
|
return _;
|
|
287
|
-
}(module.exports, require('./kotlin-kotlin-stdlib
|
|
249
|
+
}(module.exports, require('./kotlin-kotlin-stdlib.js')));
|
|
288
250
|
|
|
289
251
|
//# sourceMappingURL=kotlin-logging-js-ir.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/commonMain/kotlin/io/github/oshai/kotlinlogging/KotlinLogging.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerFactory.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/commonMain/kotlin/io/github/oshai/kotlinlogging/Level.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/commonMain/kotlin/io/github/oshai/kotlinlogging/internal/MessageInvoker.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/ConsoleOutputAppender.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/DefaultMessageFormatter.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/KotlinLoggingLevel.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerJS.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null],"names":["<init>","logger","func","found","exception","line","name","levelInt","levelStr","toString","getErrorLog","e","info","message","warn","error","formatMessage","level","loggerName","msg","isLoggingEnabled","<this>","logIfEnabled","logFunction","Appender$info$ref","Appender$info$ref$lambda","Appender$warn$ref","Appender$warn$ref$lambda","Appender$error$ref","Appender$error$ref$lambda"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/commonMain/kotlin/io/github/oshai/kotlinlogging/KotlinLogging.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerFactory.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/commonMain/kotlin/io/github/oshai/kotlinlogging/Level.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/commonMain/kotlin/io/github/oshai/kotlinlogging/internal/MessageInvoker.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/ConsoleOutputAppender.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/DefaultMessageFormatter.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/KotlinLoggingLevel.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerJS.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null],"names":["<init>","logger","func","found","exception","line","name","levelInt","levelStr","toString","getErrorLog","e","info","message","warn","error","formatMessage","level","loggerName","msg","isLoggingEnabled","<this>","logIfEnabled","logFunction","Appender$info$ref","Appender$info$ref$lambda","Appender$warn$ref","Appender$warn$ref$lambda","Appender$error$ref","Appender$error$ref$lambda"],"mappings":"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"}
|
package/kotlin-node.js
CHANGED
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
//region block: pre-declaration
|
|
8
8
|
//endregion
|
|
9
9
|
function readdir_0(path, options, $completion) {
|
|
10
|
-
|
|
11
|
-
return tmp0;
|
|
10
|
+
return await_0(readdir(path, options), $completion);
|
|
12
11
|
}
|
|
13
12
|
//region block: exports
|
|
14
13
|
_.$_$ = _.$_$ || {};
|
package/kotlin-node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/fs/readdir.kt"],"sourcesContent":[null],"names":["readdir","path","options","$completion"],"mappings":";;;;;;;;oBA8CQA,CACJC,I,EACAC,O,EAFIC,WAAAH,EAOJ;A,
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/fs/readdir.kt"],"sourcesContent":[null],"names":["readdir","path","options","$completion"],"mappings":";;;;;;;;oBA8CQA,CACJC,I,EACAC,O,EAFIC,WAAAH,EAOJ;A,IAGQ,OAAN,QAHF,QACW,IADX,EAEc,OAFd,CAGE,c;EAAM,C;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|