@cruglobal/godtools-shared 1.3.0-SNAPSHOT.1884 → 1.3.0-SNAPSHOT.2145

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.
@@ -12,20 +12,20 @@
12
12
  }(function (_, kotlin_kotlin) {
13
13
  'use strict';
14
14
  //region block: imports
15
- var protoOf = kotlin_kotlin.$_$.g7;
16
- var Unit_instance = kotlin_kotlin.$_$.k2;
17
- var initMetadataForClass = kotlin_kotlin.$_$.r6;
15
+ var protoOf = kotlin_kotlin.$_$.j7;
16
+ var Unit_instance = kotlin_kotlin.$_$.l2;
17
+ var initMetadataForClass = kotlin_kotlin.$_$.u6;
18
18
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.t;
19
- var charSequenceLength = kotlin_kotlin.$_$.h6;
20
- var initMetadataForInterface = kotlin_kotlin.$_$.u6;
21
- var initMetadataForObject = kotlin_kotlin.$_$.w6;
19
+ var charSequenceLength = kotlin_kotlin.$_$.k6;
20
+ var initMetadataForInterface = kotlin_kotlin.$_$.x6;
21
+ var initMetadataForObject = kotlin_kotlin.$_$.z6;
22
22
  var VOID = kotlin_kotlin.$_$.b;
23
- var getStringHashCode = kotlin_kotlin.$_$.p6;
24
- var THROW_CCE = kotlin_kotlin.$_$.q9;
25
- var Enum = kotlin_kotlin.$_$.g9;
26
- var objectCreate = kotlin_kotlin.$_$.f7;
27
- var stackTraceToString = kotlin_kotlin.$_$.ba;
28
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.aa;
23
+ var getStringHashCode = kotlin_kotlin.$_$.s6;
24
+ var THROW_CCE = kotlin_kotlin.$_$.t9;
25
+ var Enum = kotlin_kotlin.$_$.j9;
26
+ var objectCreate = kotlin_kotlin.$_$.i7;
27
+ var stackTraceToString = kotlin_kotlin.$_$.ea;
28
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.da;
29
29
  //endregion
30
30
  //region block: pre-declaration
31
31
  initMetadataForClass(BaseLogger, 'BaseLogger');
@@ -49,7 +49,7 @@
49
49
  }
50
50
  var sb = StringBuilder_init_$Create$();
51
51
  if (!(severity == null)) {
52
- sb.z6(this.o2t(severity)).z6(' ');
52
+ sb.z6(this.k2v(severity)).z6(' ');
53
53
  }
54
54
  var tmp_1;
55
55
  var tmp_2 = tag;
@@ -61,7 +61,7 @@
61
61
  tmp_1 = false;
62
62
  }
63
63
  if (tmp_1) {
64
- sb.z6(this.p2t(tag)).z6(' ');
64
+ sb.z6(this.l2v(tag)).z6(' ');
65
65
  }
66
66
  sb.z6(_Message___get_message__impl__3t69n4(message));
67
67
  return sb.toString();
@@ -80,18 +80,18 @@
80
80
  }
81
81
  var DEFAULT_MIN_SEVERITY;
82
82
  function BaseLogger(config) {
83
- this.i2t_1 = config;
83
+ this.e2v_1 = config;
84
84
  }
85
- protoOf(BaseLogger).j2t = function () {
86
- return this.i2t_1;
85
+ protoOf(BaseLogger).f2v = function () {
86
+ return this.e2v_1;
87
87
  };
88
- protoOf(BaseLogger).k2t = function (severity, tag, throwable, message) {
88
+ protoOf(BaseLogger).g2v = function (severity, tag, throwable, message) {
89
89
  // Inline function 'kotlin.collections.forEach' call
90
- var _iterator__ex2g4s = this.j2t().l2t().l();
90
+ var _iterator__ex2g4s = this.f2v().h2v().l();
91
91
  while (_iterator__ex2g4s.m()) {
92
92
  var element = _iterator__ex2g4s.n();
93
- if (element.n2t(tag, severity)) {
94
- element.m2t(severity, message, tag, throwable);
93
+ if (element.j2v(tag, severity)) {
94
+ element.i2v(severity, message, tag, throwable);
95
95
  }
96
96
  }
97
97
  };
@@ -104,7 +104,7 @@
104
104
  }
105
105
  function LogWriter() {
106
106
  }
107
- protoOf(LogWriter).n2t = function (tag, severity) {
107
+ protoOf(LogWriter).j2v = function (tag, severity) {
108
108
  return true;
109
109
  };
110
110
  function MessageStringFormatter() {
@@ -130,21 +130,21 @@
130
130
  function Tag__equals_impl_6ocp5g($this, other) {
131
131
  if (!(other instanceof Tag))
132
132
  return false;
133
- if (!($this === (other instanceof Tag ? other.r2t_1 : THROW_CCE())))
133
+ if (!($this === (other instanceof Tag ? other.n2v_1 : THROW_CCE())))
134
134
  return false;
135
135
  return true;
136
136
  }
137
137
  function Tag(tag) {
138
- this.r2t_1 = tag;
138
+ this.n2v_1 = tag;
139
139
  }
140
140
  protoOf(Tag).toString = function () {
141
- return Tag__toString_impl_tvevk7(this.r2t_1);
141
+ return Tag__toString_impl_tvevk7(this.n2v_1);
142
142
  };
143
143
  protoOf(Tag).hashCode = function () {
144
- return Tag__hashCode_impl_848yrc(this.r2t_1);
144
+ return Tag__hashCode_impl_848yrc(this.n2v_1);
145
145
  };
146
146
  protoOf(Tag).equals = function (other) {
147
- return Tag__equals_impl_6ocp5g(this.r2t_1, other);
147
+ return Tag__equals_impl_6ocp5g(this.n2v_1, other);
148
148
  };
149
149
  function _Message___init__impl__p3e8y6(message) {
150
150
  return message;
@@ -195,11 +195,11 @@
195
195
  }
196
196
  function ConsoleWriter(messageStringFormatter, console) {
197
197
  LogWriter.call(this);
198
- this.s2t_1 = messageStringFormatter;
199
- this.t2t_1 = console;
198
+ this.o2v_1 = messageStringFormatter;
199
+ this.p2v_1 = console;
200
200
  }
201
- protoOf(ConsoleWriter).m2t = function (severity, message, tag, throwable) {
202
- var output = this.s2t_1.q2t(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
201
+ protoOf(ConsoleWriter).i2v = function (severity, message, tag, throwable) {
202
+ var output = this.o2v_1.m2v(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
203
203
  if (throwable == null)
204
204
  null;
205
205
  else {
@@ -209,17 +209,17 @@
209
209
  switch (severity.r1_1) {
210
210
  case 5:
211
211
  case 4:
212
- this.t2t_1.u2t(output);
212
+ this.p2v_1.q2v(output);
213
213
  break;
214
214
  case 3:
215
- this.t2t_1.v2t(output);
215
+ this.p2v_1.r2v(output);
216
216
  break;
217
217
  case 2:
218
- this.t2t_1.w2t(output);
218
+ this.p2v_1.s2v(output);
219
219
  break;
220
220
  case 1:
221
221
  case 0:
222
- this.t2t_1.x2t(output);
222
+ this.p2v_1.t2v(output);
223
223
  break;
224
224
  default:
225
225
  noWhenBranchMatchedException();
@@ -227,14 +227,14 @@
227
227
  }
228
228
  };
229
229
  function JsMutableLoggerConfig(logWriters) {
230
- this.y2t_1 = get_DEFAULT_MIN_SEVERITY();
231
- this.z2t_1 = logWriters;
230
+ this.u2v_1 = get_DEFAULT_MIN_SEVERITY();
231
+ this.v2v_1 = logWriters;
232
232
  }
233
- protoOf(JsMutableLoggerConfig).a2u = function () {
234
- return this.y2t_1;
233
+ protoOf(JsMutableLoggerConfig).w2v = function () {
234
+ return this.u2v_1;
235
235
  };
236
- protoOf(JsMutableLoggerConfig).l2t = function () {
237
- return this.z2t_1;
236
+ protoOf(JsMutableLoggerConfig).h2v = function () {
237
+ return this.v2v_1;
238
238
  };
239
239
  function mutableLoggerConfigInit(logWriters) {
240
240
  return new JsMutableLoggerConfig(logWriters);
@@ -245,16 +245,16 @@
245
245
  }
246
246
  function ConsoleActual() {
247
247
  }
248
- protoOf(ConsoleActual).u2t = function (output) {
248
+ protoOf(ConsoleActual).q2v = function (output) {
249
249
  console.error(output);
250
250
  };
251
- protoOf(ConsoleActual).v2t = function (output) {
251
+ protoOf(ConsoleActual).r2v = function (output) {
252
252
  console.warn(output);
253
253
  };
254
- protoOf(ConsoleActual).w2t = function (output) {
254
+ protoOf(ConsoleActual).s2v = function (output) {
255
255
  console.info(output);
256
256
  };
257
- protoOf(ConsoleActual).x2t = function (output) {
257
+ protoOf(ConsoleActual).t2v = function (output) {
258
258
  console.log(output);
259
259
  };
260
260
  var ConsoleActual_instance;
@@ -262,9 +262,9 @@
262
262
  return ConsoleActual_instance;
263
263
  }
264
264
  //region block: post-declaration
265
- protoOf(DefaultFormatter).o2t = formatSeverity;
266
- protoOf(DefaultFormatter).p2t = formatTag;
267
- protoOf(DefaultFormatter).q2t = formatMessage;
265
+ protoOf(DefaultFormatter).k2v = formatSeverity;
266
+ protoOf(DefaultFormatter).l2v = formatTag;
267
+ protoOf(DefaultFormatter).m2v = formatMessage;
268
268
  //endregion
269
269
  //region block: init
270
270
  DefaultFormatter_instance = new DefaultFormatter();
package/Kermit-kermit.js CHANGED
@@ -16,15 +16,15 @@
16
16
  'use strict';
17
17
  //region block: imports
18
18
  var platformLogWriter = kotlin_co_touchlab_kermit_core.$_$.c;
19
- var listOf = kotlin_kotlin.$_$.d4;
19
+ var listOf = kotlin_kotlin.$_$.e4;
20
20
  var mutableLoggerConfigInit = kotlin_co_touchlab_kermit_core.$_$.b;
21
21
  var Severity_Error_getInstance = kotlin_co_touchlab_kermit_core.$_$.e;
22
- var Unit_instance = kotlin_kotlin.$_$.k2;
23
- var protoOf = kotlin_kotlin.$_$.g7;
24
- var initMetadataForCompanion = kotlin_kotlin.$_$.s6;
22
+ var Unit_instance = kotlin_kotlin.$_$.l2;
23
+ var protoOf = kotlin_kotlin.$_$.j7;
24
+ var initMetadataForCompanion = kotlin_kotlin.$_$.v6;
25
25
  var BaseLogger = kotlin_co_touchlab_kermit_core.$_$.a;
26
26
  var VOID = kotlin_kotlin.$_$.b;
27
- var initMetadataForClass = kotlin_kotlin.$_$.r6;
27
+ var initMetadataForClass = kotlin_kotlin.$_$.u6;
28
28
  //endregion
29
29
  //region block: pre-declaration
30
30
  initMetadataForClass(Logger, 'Logger', VOID, BaseLogger);
@@ -34,13 +34,13 @@
34
34
  Companion_instance = this;
35
35
  Logger.call(this, mutableLoggerConfigInit(listOf(platformLogWriter())), '');
36
36
  }
37
- protoOf(Companion).d2u = function (tag, throwable, message) {
38
- if (this.j2t().a2u().u1(Severity_Error_getInstance()) <= 0) {
37
+ protoOf(Companion).z2v = function (tag, throwable, message) {
38
+ if (this.f2v().w2v().u1(Severity_Error_getInstance()) <= 0) {
39
39
  var tmp2 = Severity_Error_getInstance();
40
40
  // Inline function 'co.touchlab.kermit.BaseLogger.log' call
41
41
  var message_0 = message();
42
- if (this.j2t().a2u().u1(tmp2) <= 0) {
43
- this.k2t(tmp2, tag, throwable, message_0);
42
+ if (this.f2v().w2v().u1(tmp2) <= 0) {
43
+ this.g2v(tmp2, tag, throwable, message_0);
44
44
  }
45
45
  }
46
46
  };
@@ -54,7 +54,7 @@
54
54
  Companion_getInstance();
55
55
  tag = tag === VOID ? '' : tag;
56
56
  BaseLogger.call(this, config);
57
- this.f2u_1 = tag;
57
+ this.b2w_1 = tag;
58
58
  }
59
59
  var defaultTag;
60
60
  //region block: init