arrow-resilience-kit 0.11.0 → 0.11.2

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/kotlin-logging.js CHANGED
@@ -46,41 +46,41 @@
46
46
  initMetadataForObject(DirectLoggerFactory, 'DirectLoggerFactory');
47
47
  initMetadataForClass(DefaultMessageFormatter, 'DefaultMessageFormatter', DefaultMessageFormatter);
48
48
  function debug(message) {
49
- return this.r1a(null, null, message);
49
+ return this.c1b(null, null, message);
50
50
  }
51
51
  function debug_0(throwable, message) {
52
- return this.r1a(null, throwable, message);
52
+ return this.c1b(null, throwable, message);
53
53
  }
54
54
  function debug_1(marker, throwable, message) {
55
55
  var tmp = Level_DEBUG_getInstance();
56
- return this.t1a(tmp, marker, KLogger$debug$lambda(message, throwable));
56
+ return this.e1b(tmp, marker, KLogger$debug$lambda(message, throwable));
57
57
  }
58
58
  function info(message) {
59
- return this.v1a(null, null, message);
59
+ return this.g1b(null, null, message);
60
60
  }
61
61
  function info_0(marker, throwable, message) {
62
62
  var tmp = Level_INFO_getInstance();
63
- return this.t1a(tmp, marker, KLogger$info$lambda(message, throwable));
63
+ return this.e1b(tmp, marker, KLogger$info$lambda(message, throwable));
64
64
  }
65
65
  function warn(message) {
66
- return this.x1a(null, null, message);
66
+ return this.i1b(null, null, message);
67
67
  }
68
68
  function warn_0(throwable, message) {
69
- return this.x1a(null, throwable, message);
69
+ return this.i1b(null, throwable, message);
70
70
  }
71
71
  function warn_1(marker, throwable, message) {
72
72
  var tmp = Level_WARN_getInstance();
73
- return this.t1a(tmp, marker, KLogger$warn$lambda(message, throwable));
73
+ return this.e1b(tmp, marker, KLogger$warn$lambda(message, throwable));
74
74
  }
75
75
  function error(message) {
76
- return this.a1b(null, null, message);
76
+ return this.l1b(null, null, message);
77
77
  }
78
78
  function error_0(throwable, message) {
79
- return this.a1b(null, throwable, message);
79
+ return this.l1b(null, throwable, message);
80
80
  }
81
81
  function error_1(marker, throwable, message) {
82
82
  var tmp = Level_ERROR_getInstance();
83
- return this.t1a(tmp, marker, KLogger$error$lambda(message, throwable));
83
+ return this.e1b(tmp, marker, KLogger$error$lambda(message, throwable));
84
84
  }
85
85
  initMetadataForInterface(KLogger, 'KLogger');
86
86
  initMetadataForClass(KLoggingEvent, 'KLoggingEvent');
@@ -96,14 +96,14 @@
96
96
  //endregion
97
97
  function FormattingAppender() {
98
98
  }
99
- protoOf(FormattingAppender).v19 = function (loggingEvent) {
99
+ protoOf(FormattingAppender).g1a = function (loggingEvent) {
100
100
  // Inline function 'kotlin.let' call
101
- var it = KotlinLoggingConfiguration_getInstance().x19_1.z19().a1a(loggingEvent);
102
- this.u19(loggingEvent, it);
101
+ var it = KotlinLoggingConfiguration_getInstance().i1a_1.k1a().l1a(loggingEvent);
102
+ this.f1a(loggingEvent, it);
103
103
  };
104
104
  function DirectLoggerFactory() {
105
105
  }
106
- protoOf(DirectLoggerFactory).b1a = function (name) {
106
+ protoOf(DirectLoggerFactory).m1a = function (name) {
107
107
  return new KLoggerDirect(name);
108
108
  };
109
109
  var DirectLoggerFactory_instance;
@@ -112,7 +112,7 @@
112
112
  }
113
113
  function prefix($this, level, loggerName) {
114
114
  var tmp;
115
- if ($this.c1a_1) {
115
+ if ($this.n1a_1) {
116
116
  tmp = level.h1_1 + ': [' + loggerName + '] ';
117
117
  } else {
118
118
  tmp = '';
@@ -148,16 +148,16 @@
148
148
  }
149
149
  function DefaultMessageFormatter(includePrefix) {
150
150
  includePrefix = includePrefix === VOID ? true : includePrefix;
151
- this.c1a_1 = includePrefix;
151
+ this.n1a_1 = includePrefix;
152
152
  }
153
- protoOf(DefaultMessageFormatter).a1a = function (loggingEvent) {
153
+ protoOf(DefaultMessageFormatter).l1a = function (loggingEvent) {
154
154
  // Inline function 'kotlin.with' call
155
155
  // Inline function 'kotlin.text.buildString' call
156
156
  // Inline function 'kotlin.apply' call
157
157
  var this_0 = StringBuilder_init_$Create$();
158
- this_0.r5(prefix(this, loggingEvent.d1a_1, loggingEvent.f1a_1));
159
- var tmp0_safe_receiver = loggingEvent.e1a_1;
160
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k1a();
158
+ this_0.r5(prefix(this, loggingEvent.o1a_1, loggingEvent.q1a_1));
159
+ var tmp0_safe_receiver = loggingEvent.p1a_1;
160
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v1a();
161
161
  if (tmp1_safe_receiver == null)
162
162
  null;
163
163
  else {
@@ -165,42 +165,42 @@
165
165
  this_0.r5(tmp1_safe_receiver);
166
166
  this_0.r5(' ');
167
167
  }
168
- this_0.r5(loggingEvent.g1a_1);
169
- this_0.r5(throwableToString(this, loggingEvent.h1a_1));
168
+ this_0.r5(loggingEvent.r1a_1);
169
+ this_0.r5(throwableToString(this, loggingEvent.s1a_1));
170
170
  return this_0.toString();
171
171
  };
172
172
  function KLogger$debug$lambda($message, $throwable) {
173
173
  return function ($this$at) {
174
- $this$at.l1a_1 = toStringSafe($message);
175
- $this$at.m1a_1 = $throwable;
174
+ $this$at.w1a_1 = toStringSafe($message);
175
+ $this$at.x1a_1 = $throwable;
176
176
  return Unit_instance;
177
177
  };
178
178
  }
179
179
  function KLogger$info$lambda($message, $throwable) {
180
180
  return function ($this$at) {
181
- $this$at.l1a_1 = toStringSafe($message);
182
- $this$at.m1a_1 = $throwable;
181
+ $this$at.w1a_1 = toStringSafe($message);
182
+ $this$at.x1a_1 = $throwable;
183
183
  return Unit_instance;
184
184
  };
185
185
  }
186
186
  function KLogger$warn$lambda($message, $throwable) {
187
187
  return function ($this$at) {
188
- $this$at.l1a_1 = toStringSafe($message);
189
- $this$at.m1a_1 = $throwable;
188
+ $this$at.w1a_1 = toStringSafe($message);
189
+ $this$at.x1a_1 = $throwable;
190
190
  return Unit_instance;
191
191
  };
192
192
  }
193
193
  function KLogger$error$lambda($message, $throwable) {
194
194
  return function ($this$at) {
195
- $this$at.l1a_1 = toStringSafe($message);
196
- $this$at.m1a_1 = $throwable;
195
+ $this$at.w1a_1 = toStringSafe($message);
196
+ $this$at.x1a_1 = $throwable;
197
197
  return Unit_instance;
198
198
  };
199
199
  }
200
200
  function KLogger() {
201
201
  }
202
202
  function KLoggingEvent_init_$Init$(level, marker, loggerName, eventBuilder, $this) {
203
- KLoggingEvent.call($this, level, marker, loggerName, eventBuilder.l1a_1, eventBuilder.m1a_1, eventBuilder.n1a_1);
203
+ KLoggingEvent.call($this, level, marker, loggerName, eventBuilder.w1a_1, eventBuilder.x1a_1, eventBuilder.y1a_1);
204
204
  return $this;
205
205
  }
206
206
  function KLoggingEvent_init_$Create$(level, marker, loggerName, eventBuilder) {
@@ -211,25 +211,25 @@
211
211
  cause = cause === VOID ? null : cause;
212
212
  payload = payload === VOID ? null : payload;
213
213
  timestamp = timestamp === VOID ? getCurrentTime() : timestamp;
214
- this.d1a_1 = level;
215
- this.e1a_1 = marker;
216
- this.f1a_1 = loggerName;
217
- this.g1a_1 = message;
218
- this.h1a_1 = cause;
219
- this.i1a_1 = payload;
220
- this.j1a_1 = timestamp;
214
+ this.o1a_1 = level;
215
+ this.p1a_1 = marker;
216
+ this.q1a_1 = loggerName;
217
+ this.r1a_1 = message;
218
+ this.s1a_1 = cause;
219
+ this.t1a_1 = payload;
220
+ this.u1a_1 = timestamp;
221
221
  }
222
222
  protoOf(KLoggingEvent).toString = function () {
223
- return 'KLoggingEvent(level=' + this.d1a_1.toString() + ', marker=' + toString(this.e1a_1) + ', loggerName=' + this.f1a_1 + ', message=' + this.g1a_1 + ', cause=' + toString(this.h1a_1) + ', payload=' + toString(this.i1a_1) + ', timestamp=' + this.j1a_1.toString() + ')';
223
+ return 'KLoggingEvent(level=' + this.o1a_1.toString() + ', marker=' + toString(this.p1a_1) + ', loggerName=' + this.q1a_1 + ', message=' + this.r1a_1 + ', cause=' + toString(this.s1a_1) + ', payload=' + toString(this.t1a_1) + ', timestamp=' + this.u1a_1.toString() + ')';
224
224
  };
225
225
  protoOf(KLoggingEvent).hashCode = function () {
226
- var result = this.d1a_1.hashCode();
227
- result = imul(result, 31) + (this.e1a_1 == null ? 0 : hashCode(this.e1a_1)) | 0;
228
- result = imul(result, 31) + getStringHashCode(this.f1a_1) | 0;
229
- result = imul(result, 31) + (this.g1a_1 == null ? 0 : getStringHashCode(this.g1a_1)) | 0;
230
- result = imul(result, 31) + (this.h1a_1 == null ? 0 : hashCode(this.h1a_1)) | 0;
231
- result = imul(result, 31) + (this.i1a_1 == null ? 0 : hashCode(this.i1a_1)) | 0;
232
- result = imul(result, 31) + this.j1a_1.hashCode() | 0;
226
+ var result = this.o1a_1.hashCode();
227
+ result = imul(result, 31) + (this.p1a_1 == null ? 0 : hashCode(this.p1a_1)) | 0;
228
+ result = imul(result, 31) + getStringHashCode(this.q1a_1) | 0;
229
+ result = imul(result, 31) + (this.r1a_1 == null ? 0 : getStringHashCode(this.r1a_1)) | 0;
230
+ result = imul(result, 31) + (this.s1a_1 == null ? 0 : hashCode(this.s1a_1)) | 0;
231
+ result = imul(result, 31) + (this.t1a_1 == null ? 0 : hashCode(this.t1a_1)) | 0;
232
+ result = imul(result, 31) + this.u1a_1.hashCode() | 0;
233
233
  return result;
234
234
  };
235
235
  protoOf(KLoggingEvent).equals = function (other) {
@@ -238,41 +238,41 @@
238
238
  if (!(other instanceof KLoggingEvent))
239
239
  return false;
240
240
  var tmp0_other_with_cast = other instanceof KLoggingEvent ? other : THROW_CCE();
241
- if (!this.d1a_1.equals(tmp0_other_with_cast.d1a_1))
241
+ if (!this.o1a_1.equals(tmp0_other_with_cast.o1a_1))
242
242
  return false;
243
- if (!equals(this.e1a_1, tmp0_other_with_cast.e1a_1))
243
+ if (!equals(this.p1a_1, tmp0_other_with_cast.p1a_1))
244
244
  return false;
245
- if (!(this.f1a_1 === tmp0_other_with_cast.f1a_1))
245
+ if (!(this.q1a_1 === tmp0_other_with_cast.q1a_1))
246
246
  return false;
247
- if (!(this.g1a_1 == tmp0_other_with_cast.g1a_1))
247
+ if (!(this.r1a_1 == tmp0_other_with_cast.r1a_1))
248
248
  return false;
249
- if (!equals(this.h1a_1, tmp0_other_with_cast.h1a_1))
249
+ if (!equals(this.s1a_1, tmp0_other_with_cast.s1a_1))
250
250
  return false;
251
- if (!equals(this.i1a_1, tmp0_other_with_cast.i1a_1))
251
+ if (!equals(this.t1a_1, tmp0_other_with_cast.t1a_1))
252
252
  return false;
253
- if (!equalsLong(this.j1a_1, tmp0_other_with_cast.j1a_1))
253
+ if (!equalsLong(this.u1a_1, tmp0_other_with_cast.u1a_1))
254
254
  return false;
255
255
  return true;
256
256
  };
257
257
  function KLoggingEventBuilder() {
258
- this.l1a_1 = null;
259
- this.m1a_1 = null;
260
- this.n1a_1 = null;
261
- this.o1a_1 = null;
262
- this.p1a_1 = null;
258
+ this.w1a_1 = null;
259
+ this.x1a_1 = null;
260
+ this.y1a_1 = null;
261
+ this.z1a_1 = null;
262
+ this.a1b_1 = null;
263
263
  }
264
264
  function KotlinLogging() {
265
265
  KotlinLogging_instance = this;
266
- var factory = KotlinLoggingConfiguration_getInstance().y19_1;
267
- if (KotlinLoggingConfiguration_getInstance().w19_1) {
266
+ var factory = KotlinLoggingConfiguration_getInstance().j1a_1;
267
+ if (KotlinLoggingConfiguration_getInstance().h1a_1) {
268
268
  println('kotlin-logging: initializing... active logger factory: ' + getKClassFromExpression(factory).z7());
269
269
  }
270
270
  }
271
- protoOf(KotlinLogging).c1b = function (func) {
272
- return this.b1a(KLoggerNameResolver_instance.d1b(func));
271
+ protoOf(KotlinLogging).n1b = function (func) {
272
+ return this.m1a(KLoggerNameResolver_instance.o1b(func));
273
273
  };
274
- protoOf(KotlinLogging).b1a = function (name) {
275
- return KotlinLoggingConfiguration_getInstance().y19_1.b1a(name);
274
+ protoOf(KotlinLogging).m1a = function (name) {
275
+ return KotlinLoggingConfiguration_getInstance().j1a_1.m1a(name);
276
276
  };
277
277
  var KotlinLogging_instance;
278
278
  function KotlinLogging_getInstance() {
@@ -316,14 +316,14 @@
316
316
  var $ENTRIES;
317
317
  function Level(name, ordinal, levelInt, levelStr) {
318
318
  Enum.call(this, name, ordinal);
319
- this.g1b_1 = levelInt;
320
- this.h1b_1 = levelStr;
319
+ this.r1b_1 = levelInt;
320
+ this.s1b_1 = levelStr;
321
321
  }
322
- protoOf(Level).i1b = function () {
323
- return this.j1(KotlinLoggingConfiguration_getInstance().x19_1.j1b()) >= 0;
322
+ protoOf(Level).t1b = function () {
323
+ return this.j1(KotlinLoggingConfiguration_getInstance().i1a_1.u1b()) >= 0;
324
324
  };
325
325
  protoOf(Level).toString = function () {
326
- return this.h1b_1;
326
+ return this.s1b_1;
327
327
  };
328
328
  function Level_TRACE_getInstance() {
329
329
  static_init();
@@ -350,21 +350,21 @@
350
350
  return Level_OFF_instance;
351
351
  }
352
352
  function KLoggerDirect(name) {
353
- this.k1b_1 = name;
353
+ this.v1b_1 = name;
354
354
  }
355
- protoOf(KLoggerDirect).t1a = function (level, marker, block) {
356
- if (this.m1b(level, marker)) {
355
+ protoOf(KLoggerDirect).e1b = function (level, marker, block) {
356
+ if (this.x1b(level, marker)) {
357
357
  // Inline function 'kotlin.apply' call
358
358
  var this_0 = new KLoggingEventBuilder();
359
359
  block(this_0);
360
360
  // Inline function 'kotlin.run' call
361
361
  if (level.i1_1 !== 5) {
362
- KotlinLoggingConfiguration_getInstance().x19_1.l1b().v19(KLoggingEvent_init_$Create$(level, marker, this.k1b_1, this_0));
362
+ KotlinLoggingConfiguration_getInstance().i1a_1.w1b().g1a(KLoggingEvent_init_$Create$(level, marker, this.v1b_1, this_0));
363
363
  }
364
364
  }
365
365
  };
366
- protoOf(KLoggerDirect).m1b = function (level, marker) {
367
- return level.i1b();
366
+ protoOf(KLoggerDirect).x1b = function (level, marker) {
367
+ return level.t1b();
368
368
  };
369
369
  function toStringSafe(_this__u8e3s4) {
370
370
  var tmp;
@@ -374,7 +374,7 @@
374
374
  var tmp_0;
375
375
  if ($p instanceof Exception) {
376
376
  var e = $p;
377
- tmp_0 = DefaultErrorMessageProducer_instance.n1b(e);
377
+ tmp_0 = DefaultErrorMessageProducer_instance.y1b(e);
378
378
  } else {
379
379
  throw $p;
380
380
  }
@@ -384,7 +384,7 @@
384
384
  }
385
385
  function DefaultErrorMessageProducer() {
386
386
  }
387
- protoOf(DefaultErrorMessageProducer).n1b = function (e) {
387
+ protoOf(DefaultErrorMessageProducer).y1b = function (e) {
388
388
  return 'Log message invocation failed: ' + e.toString();
389
389
  };
390
390
  var DefaultErrorMessageProducer_instance;
@@ -394,8 +394,8 @@
394
394
  function ConsoleOutputAppender() {
395
395
  FormattingAppender.call(this);
396
396
  }
397
- protoOf(ConsoleOutputAppender).u19 = function (loggingEvent, formattedMessage) {
398
- switch (loggingEvent.d1a_1.i1_1) {
397
+ protoOf(ConsoleOutputAppender).f1a = function (loggingEvent, formattedMessage) {
398
+ switch (loggingEvent.o1a_1.i1_1) {
399
399
  case 0:
400
400
  console.log(formattedMessage);
401
401
  break;
@@ -419,33 +419,33 @@
419
419
  }
420
420
  };
421
421
  function KotlinLoggingConfiguration$direct$1() {
422
- this.o1b_1 = Level_INFO_getInstance();
423
- this.p1b_1 = new DefaultMessageFormatter(true);
424
- this.q1b_1 = new ConsoleOutputAppender();
422
+ this.z1b_1 = Level_INFO_getInstance();
423
+ this.a1c_1 = new DefaultMessageFormatter(true);
424
+ this.b1c_1 = new ConsoleOutputAppender();
425
425
  }
426
- protoOf(KotlinLoggingConfiguration$direct$1).r1b = function (value) {
427
- this.o1b_1 = value;
428
- internalCheckFactory('logLevel', KotlinLoggingConfiguration_getInstance().y19_1);
426
+ protoOf(KotlinLoggingConfiguration$direct$1).c1c = function (value) {
427
+ this.z1b_1 = value;
428
+ internalCheckFactory('logLevel', KotlinLoggingConfiguration_getInstance().j1a_1);
429
429
  };
430
- protoOf(KotlinLoggingConfiguration$direct$1).j1b = function () {
431
- return this.o1b_1;
430
+ protoOf(KotlinLoggingConfiguration$direct$1).u1b = function () {
431
+ return this.z1b_1;
432
432
  };
433
- protoOf(KotlinLoggingConfiguration$direct$1).z19 = function () {
434
- return this.p1b_1;
433
+ protoOf(KotlinLoggingConfiguration$direct$1).k1a = function () {
434
+ return this.a1c_1;
435
435
  };
436
- protoOf(KotlinLoggingConfiguration$direct$1).s1b = function (value) {
437
- this.q1b_1 = value;
438
- internalCheckFactory('appender', KotlinLoggingConfiguration_getInstance().y19_1);
436
+ protoOf(KotlinLoggingConfiguration$direct$1).d1c = function (value) {
437
+ this.b1c_1 = value;
438
+ internalCheckFactory('appender', KotlinLoggingConfiguration_getInstance().j1a_1);
439
439
  };
440
- protoOf(KotlinLoggingConfiguration$direct$1).l1b = function () {
441
- return this.q1b_1;
440
+ protoOf(KotlinLoggingConfiguration$direct$1).w1b = function () {
441
+ return this.b1c_1;
442
442
  };
443
443
  function KotlinLoggingConfiguration() {
444
444
  KotlinLoggingConfiguration_instance = this;
445
- this.w19_1 = resolveStartupMessageDefault();
445
+ this.h1a_1 = resolveStartupMessageDefault();
446
446
  var tmp = this;
447
- tmp.x19_1 = new KotlinLoggingConfiguration$direct$1();
448
- this.y19_1 = DirectLoggerFactory_instance;
447
+ tmp.i1a_1 = new KotlinLoggingConfiguration$direct$1();
448
+ this.j1a_1 = DirectLoggerFactory_instance;
449
449
  }
450
450
  var KotlinLoggingConfiguration_instance;
451
451
  function KotlinLoggingConfiguration_getInstance() {
@@ -477,7 +477,7 @@
477
477
  }
478
478
  function KLoggerNameResolver() {
479
479
  }
480
- protoOf(KLoggerNameResolver).d1b = function (func) {
480
+ protoOf(KLoggerNameResolver).o1b = function (func) {
481
481
  var found = false;
482
482
  var exception = Exception_init_$Create$();
483
483
  var _iterator__ex2g4s = split(stackTraceToString(exception), ['\n']).h();
@@ -500,17 +500,17 @@
500
500
  return numberToLong(Date.now());
501
501
  }
502
502
  //region block: post-declaration
503
- protoOf(KLoggerDirect).q1a = debug;
504
- protoOf(KLoggerDirect).s1a = debug_0;
505
- protoOf(KLoggerDirect).r1a = debug_1;
506
- protoOf(KLoggerDirect).u1a = info;
507
- protoOf(KLoggerDirect).v1a = info_0;
508
- protoOf(KLoggerDirect).w1a = warn;
509
- protoOf(KLoggerDirect).y1a = warn_0;
510
- protoOf(KLoggerDirect).x1a = warn_1;
511
- protoOf(KLoggerDirect).z1a = error;
512
- protoOf(KLoggerDirect).b1b = error_0;
513
- protoOf(KLoggerDirect).a1b = error_1;
503
+ protoOf(KLoggerDirect).b1b = debug;
504
+ protoOf(KLoggerDirect).d1b = debug_0;
505
+ protoOf(KLoggerDirect).c1b = debug_1;
506
+ protoOf(KLoggerDirect).f1b = info;
507
+ protoOf(KLoggerDirect).g1b = info_0;
508
+ protoOf(KLoggerDirect).h1b = warn;
509
+ protoOf(KLoggerDirect).j1b = warn_0;
510
+ protoOf(KLoggerDirect).i1b = warn_1;
511
+ protoOf(KLoggerDirect).k1b = error;
512
+ protoOf(KLoggerDirect).m1b = error_0;
513
+ protoOf(KLoggerDirect).l1b = error_1;
514
514
  //endregion
515
515
  //region block: init
516
516
  DirectLoggerFactory_instance = new DirectLoggerFactory();