(function (root, factory) {
if (typeof define === 'function' && define.amd)
define(['exports', './kotlin-kotlin-stdlib-js-ir.js'], factory);
else if (typeof exports === 'object')
factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'));
else {
if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
throw new Error("Error loading module 'korlibs-klogger'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'korlibs-klogger'.");
}
root['korlibs-klogger'] = factory(typeof this['korlibs-klogger'] === 'undefined' ? {} : this['korlibs-klogger'], this['kotlin-kotlin-stdlib-js-ir']);
}
}(this, function (_, kotlin_kotlin) {
'use strict';
//region block: imports
var Unit_getInstance = kotlin_kotlin.$_$.k5;
var Enum = kotlin_kotlin.$_$.sh;
var classMeta = kotlin_kotlin.$_$.pc;
var println = kotlin_kotlin.$_$.fc;
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.h2;
var joinTo$default = kotlin_kotlin.$_$.o;
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.p3;
var Char = kotlin_kotlin.$_$.nh;
var interfaceMeta = kotlin_kotlin.$_$.yc;
var THROW_ISE = kotlin_kotlin.$_$.fi;
var emptyMap = kotlin_kotlin.$_$.x7;
var objectMeta = kotlin_kotlin.$_$.wd;
var HashMap_init_$Create$ = kotlin_kotlin.$_$.q1;
var KMutableProperty1 = kotlin_kotlin.$_$.bf;
var getPropertyCallableRef = kotlin_kotlin.$_$.vc;
//endregion
//region block: pre-declaration
Kind.prototype = Object.create(Enum.prototype);
Kind.prototype.constructor = Kind;
function appendAnsiScape(_this__u8e3s4, code, extra, char) {
_this__u8e3s4.g2(_Char___init__impl__6a9atx(27));
_this__u8e3s4.g2(_Char___init__impl__6a9atx(91));
_this__u8e3s4.fc(code);
if (!(extra == null)) {
_this__u8e3s4.gc(extra);
}
_this__u8e3s4.g2(char);
return _this__u8e3s4;
}
function appendAnsiScape$default(_this__u8e3s4, code, extra, char, $mask0, $handler) {
if (!(($mask0 & 2) === 0))
extra = null;
if (!(($mask0 & 4) === 0))
char = _Char___init__impl__6a9atx(109);
return $handler == null ? this.s50(_this__u8e3s4, code, extra, char) : $handler(code, extra, new Char(char));
}
function appendReset(_this__u8e3s4) {
return this.t50(_this__u8e3s4, 0, null, _Char___init__impl__6a9atx(0), 6, null);
}
function appendFgColor(_this__u8e3s4, color, bright) {
var tmp = 30 + color.x50_1 | 0;
var tmp_0 = bright ? ';1' : null;
return this.t50(_this__u8e3s4, tmp, tmp_0, _Char___init__impl__6a9atx(0), 4, null);
}
function appendFgColor$default(_this__u8e3s4, color, bright, $mask0, $handler) {
if (!(($mask0 & 2) === 0))
bright = false;
return $handler == null ? this.u50(_this__u8e3s4, color, bright) : $handler(color, bright);
}
Color.prototype = Object.create(Enum.prototype);
Color.prototype.constructor = Color;
Level.prototype = Object.create(Enum.prototype);
Level.prototype.constructor = Level;
Console.prototype = Object.create(BaseConsole.prototype);
Console.prototype.constructor = Console;
//endregion
var baseConsoleHook;
var Kind_ERROR_instance;
var Kind_WARN_instance;
var Kind_INFO_instance;
var Kind_DEBUG_instance;
var Kind_TRACE_instance;
var Kind_LOG_instance;
var Kind_entriesInitialized;
function Kind_initEntries() {
if (Kind_entriesInitialized)
return Unit_getInstance();
Kind_entriesInitialized = true;
Kind_ERROR_instance = new Kind('ERROR', 0, 0, Color_RED_getInstance());
Kind_WARN_instance = new Kind('WARN', 1, 1, Color_YELLOW_getInstance());
Kind_INFO_instance = new Kind('INFO', 2, 2, Color_BLUE_getInstance());
Kind_DEBUG_instance = new Kind('DEBUG', 3, 3, Color_CYAN_getInstance());
Kind_TRACE_instance = new Kind('TRACE', 4, 4, Color_GREEN_getInstance());
Kind_LOG_instance = new Kind('LOG', 5, 5, null);
}
function Kind(name, ordinal, level, color) {
Enum.call(this, name, ordinal);
this.e50_1 = level;
this.f50_1 = color;
}
Kind.prototype.g50 = function () {
return this.f50_1;
};
Kind.$metadata$ = classMeta('Kind', undefined, undefined, undefined, undefined, Enum.prototype);
function BaseConsole$logInternal$ref($boundThis) {
var l = function (p0, p1) {
$boundThis.h50(p0, p1);
return Unit_getInstance();
};
l.callableName = 'logInternal';
return l;
}
function Kind_ERROR_getInstance() {
Kind_initEntries();
return Kind_ERROR_instance;
}
function Kind_WARN_getInstance() {
Kind_initEntries();
return Kind_WARN_instance;
}
function Kind_INFO_getInstance() {
Kind_initEntries();
return Kind_INFO_instance;
}
function Kind_DEBUG_getInstance() {
Kind_initEntries();
return Kind_DEBUG_instance;
}
function Kind_TRACE_getInstance() {
Kind_initEntries();
return Kind_TRACE_instance;
}
function Kind_LOG_getInstance() {
Kind_initEntries();
return Kind_LOG_instance;
}
function BaseConsole() {
}
BaseConsole.prototype.i50 = function (kind, msg) {
var hook = baseConsoleHook;
if (!(hook == null)) {
hook(kind, msg, BaseConsole$logInternal$ref(this));
} else {
this.h50(kind, msg.slice());
}
};
BaseConsole.prototype.h50 = function (kind, msg) {
println(this.j50(kind, msg.slice()));
};
BaseConsole.prototype.j50 = function (kind, msg) {
var tmp$ret$1;
// Inline function 'kotlin.text.buildString' call
// Inline function 'kotlin.contracts.contract' call
var tmp$ret$0;
// Inline function 'kotlin.apply' call
var tmp0_apply = StringBuilder_init_$Create$();
// Inline function 'kotlin.contracts.contract' call
// Inline function 'com.soywiz.klogger.BaseConsole.logToString.<anonymous>' call
var color = kind.f50_1;
if (!(color == null)) {
this.k50(tmp0_apply, color, false, 2, null);
}
joinTo$default(msg, tmp0_apply, ', ', null, null, 0, null, null, 124, null);
if (!(color == null)) {
this.l50(tmp0_apply);
}
tmp$ret$0 = tmp0_apply;
tmp$ret$1 = tmp$ret$0.toString();
return tmp$ret$1;
};
BaseConsole.prototype.m50 = function (msg) {
return this.i50(Kind_LOG_getInstance(), msg.slice());
};
BaseConsole.prototype.n50 = function (msg) {
return this.i50(Kind_TRACE_getInstance(), msg.slice());
};
BaseConsole.prototype.o50 = function (msg) {
return this.i50(Kind_DEBUG_getInstance(), msg.slice());
};
BaseConsole.prototype.p50 = function (msg) {
return this.i50(Kind_INFO_getInstance(), msg.slice());
};
BaseConsole.prototype.q50 = function (msg) {
return this.i50(Kind_WARN_getInstance(), msg.slice());
};
BaseConsole.prototype.r50 = function (msg) {
return this.i50(Kind_ERROR_getInstance(), msg.slice());
};
BaseConsole.$metadata$ = classMeta('BaseConsole', [AnsiEscape]);
var Color_BLACK_instance;
var Color_RED_instance;
var Color_GREEN_instance;
var Color_YELLOW_instance;
var Color_BLUE_instance;
var Color_PURPLE_instance;
var Color_CYAN_instance;
var Color_WHITE_instance;
var Color_entriesInitialized;
function Color_initEntries() {
if (Color_entriesInitialized)
return Unit_getInstance();
Color_entriesInitialized = true;
Color_BLACK_instance = new Color('BLACK', 0, 0);
Color_RED_instance = new Color('RED', 1, 1);
Color_GREEN_instance = new Color('GREEN', 2, 2);
Color_YELLOW_instance = new Color('YELLOW', 3, 3);
Color_BLUE_instance = new Color('BLUE', 4, 4);
Color_PURPLE_instance = new Color('PURPLE', 5, 5);
Color_CYAN_instance = new Color('CYAN', 6, 6);
Color_WHITE_instance = new Color('WHITE', 7, 7);
}
function Color(name, ordinal, index) {
Enum.call(this, name, ordinal);
this.x50_1 = index;
}
Color.$metadata$ = classMeta('Color', undefined, undefined, undefined, undefined, Enum.prototype);
function Color_RED_getInstance() {
Color_initEntries();
return Color_RED_instance;
}
function Color_GREEN_getInstance() {
Color_initEntries();
return Color_GREEN_instance;
}
function Color_YELLOW_getInstance() {
Color_initEntries();
return Color_YELLOW_instance;
}
function Color_BLUE_getInstance() {
Color_initEntries();
return Color_BLUE_instance;
}
function Color_CYAN_getInstance() {
Color_initEntries();
return Color_CYAN_instance;
}
function AnsiEscape() {
}
AnsiEscape.$metadata$ = interfaceMeta('AnsiEscape');
var Level_NONE_instance;
var Level_FATAL_instance;
var Level_ERROR_instance;
var Level_WARN_instance;
var Level_INFO_instance;
var Level_DEBUG_instance;
var Level_TRACE_instance;
function valueOf(value) {
switch (value) {
case 'NONE':
return Level_NONE_getInstance();
case 'FATAL':
return Level_FATAL_getInstance();
case 'ERROR':
return Level_ERROR_getInstance();
case 'WARN':
return Level_WARN_getInstance();
case 'INFO':
return Level_INFO_getInstance();
case 'DEBUG':
return Level_DEBUG_getInstance();
case 'TRACE':
return Level_TRACE_getInstance();
default:
Level_initEntries();
THROW_ISE();
break;
}
}
var Level_entriesInitialized;
function Level_initEntries() {
if (Level_entriesInitialized)
return Unit_getInstance();
Level_entriesInitialized = true;
Level_NONE_instance = new Level('NONE', 0, 0);
Level_FATAL_instance = new Level('FATAL', 1, 1);
Level_ERROR_instance = new Level('ERROR', 2, 2);
Level_WARN_instance = new Level('WARN', 3, 3);
Level_INFO_instance = new Level('INFO', 4, 4);
Level_DEBUG_instance = new Level('DEBUG', 5, 5);
Level_TRACE_instance = new Level('TRACE', 6, 6);
}
function Companion() {
Companion_instance = this;
this.y50_1 = new KloggerAtomicRef(emptyMap());
this.z50_1 = new KloggerAtomicRef(emptyMap());
this.a51_1 = new KloggerAtomicRef(emptyMap());
this.b51_1 = new KloggerAtomicRef(null);
this.c51_1 = new KloggerAtomicRef(DefaultLogOutput_getInstance());
}
Companion.prototype.d51 = function (_set____db54di) {
return setValue(this.b51_1, this, defaultLevel$factory(), _set____db54di);
};
Companion.prototype.e51 = function () {
return getValue(this.b51_1, this, defaultLevel$factory_0());
};
Companion.prototype.f51 = function (_set____db54di) {
return setValue(this.c51_1, this, defaultOutput$factory(), _set____db54di);
};
Companion.prototype.g51 = function () {
return getValue(this.c51_1, this, defaultOutput$factory_0());
};
Companion.prototype.h51 = function (name) {
var tmp$ret$0;
// Inline function 'com.soywiz.klogger.get' call
var tmp0_get = this.y50_1;
tmp$ret$0 = tmp0_get.i51_1.q(name);
var tmp0_elvis_lhs = tmp$ret$0;
return tmp0_elvis_lhs == null ? new Logger(name, true) : tmp0_elvis_lhs;
};
Companion.$metadata$ = objectMeta('Companion');
var Companion_instance;
function Companion_getInstance() {
if (Companion_instance == null)
new Companion();
return Companion_instance;
}
function Level(name, ordinal, index) {
Enum.call(this, name, ordinal);
this.l51_1 = index;
}
Level.$metadata$ = classMeta('Level', undefined, undefined, undefined, undefined, Enum.prototype);
function Output() {
}
Output.$metadata$ = interfaceMeta('Output');
function ConsoleLogOutput() {
ConsoleLogOutput_instance = this;
}
ConsoleLogOutput.prototype.m51 = function (logger, level, msg) {
var tmp0_subject = level;
var tmp0 = tmp0_subject.q2_1;
switch (tmp0) {
case 2:
Console_getInstance().r50([logger.n51_1, msg]);
;
break;
case 3:
Console_getInstance().q50([logger.n51_1, msg]);
;
break;
default:
Console_getInstance().m50([logger.n51_1, msg]);
;
break;
}
};
ConsoleLogOutput.$metadata$ = objectMeta('ConsoleLogOutput', [Output]);
var ConsoleLogOutput_instance;
function ConsoleLogOutput_getInstance() {
if (ConsoleLogOutput_instance == null)
new ConsoleLogOutput();
return ConsoleLogOutput_instance;
}
function Level_NONE_getInstance() {
Level_initEntries();
return Level_NONE_instance;
}
function Level_FATAL_getInstance() {
Level_initEntries();
return Level_FATAL_instance;
}
function Level_ERROR_getInstance() {
Level_initEntries();
return Level_ERROR_instance;
}
function Level_WARN_getInstance() {
Level_initEntries();
return Level_WARN_instance;
}
function Level_INFO_getInstance() {
Level_initEntries();
return Level_INFO_instance;
}
function Level_DEBUG_getInstance() {
Level_initEntries();
return Level_DEBUG_instance;
}
function Level_TRACE_getInstance() {
Level_initEntries();
return Level_TRACE_instance;
}
function Logger(name, dummy) {
Companion_getInstance();
this.n51_1 = name;
this.o51_1 = dummy;
// Inline function 'com.soywiz.klogger.set' call
var tmp1_set = Companion_getInstance().y50_1;
var tmp2_set = this.n51_1;
// Inline function 'com.soywiz.klogger.atomic.KloggerAtomicRef.update' call
var tmp = tmp1_set;
var tmp$ret$1;
// Inline function 'com.soywiz.klogger.set.<anonymous>' call
var tmp0__anonymous__q1qw7t = tmp1_set.i51_1;
var tmp$ret$0;
// Inline function 'kotlin.also' call
var tmp0_also = HashMap_init_$Create$(tmp0__anonymous__q1qw7t);
// Inline function 'kotlin.contracts.contract' call
// Inline function 'com.soywiz.klogger.set.<anonymous>.<anonymous>' call
// Inline function 'kotlin.collections.set' call
tmp0_also.a(tmp2_set, this);
tmp$ret$0 = tmp0_also;
tmp$ret$1 = tmp$ret$0;
tmp.i51_1 = tmp$ret$1;
// Inline function 'com.soywiz.klogger.set' call
var tmp4_set = Companion_getInstance().z50_1;
var tmp5_set = this.n51_1;
// Inline function 'com.soywiz.klogger.atomic.KloggerAtomicRef.update' call
var tmp_0 = tmp4_set;
var tmp$ret$3;
// Inline function 'com.soywiz.klogger.set.<anonymous>' call
var tmp3__anonymous__ufb84q = tmp4_set.i51_1;
var tmp$ret$2;
// Inline function 'kotlin.also' call
var tmp0_also_0 = HashMap_init_$Create$(tmp3__anonymous__ufb84q);
// Inline function 'kotlin.contracts.contract' call
// Inline function 'com.soywiz.klogger.set.<anonymous>.<anonymous>' call
// Inline function 'kotlin.collections.set' call
tmp0_also_0.a(tmp5_set, null);
tmp$ret$2 = tmp0_also_0;
tmp$ret$3 = tmp$ret$2;
tmp_0.i51_1 = tmp$ret$3;
// Inline function 'com.soywiz.klogger.set' call
var tmp7_set = Companion_getInstance().a51_1;
var tmp8_set = this.n51_1;
// Inline function 'com.soywiz.klogger.atomic.KloggerAtomicRef.update' call
var tmp_1 = tmp7_set;
var tmp$ret$5;
// Inline function 'com.soywiz.klogger.set.<anonymous>' call
var tmp6__anonymous__fv9ai5 = tmp7_set.i51_1;
var tmp$ret$4;
// Inline function 'kotlin.also' call
var tmp0_also_1 = HashMap_init_$Create$(tmp6__anonymous__fv9ai5);
// Inline function 'kotlin.contracts.contract' call
// Inline function 'com.soywiz.klogger.set.<anonymous>.<anonymous>' call
// Inline function 'kotlin.collections.set' call
tmp0_also_1.a(tmp8_set, null);
tmp$ret$4 = tmp0_also_1;
tmp$ret$5 = tmp$ret$4;
tmp_1.i51_1 = tmp$ret$5;
}
Logger.prototype.p51 = function (value) {
// Inline function 'com.soywiz.klogger.set' call
var tmp1_set = Companion_getInstance().z50_1;
var tmp2_set = this.n51_1;
// Inline function 'com.soywiz.klogger.atomic.KloggerAtomicRef.update' call
var tmp = tmp1_set;
var tmp$ret$1;
// Inline function 'com.soywiz.klogger.set.<anonymous>' call
var tmp0__anonymous__q1qw7t = tmp1_set.i51_1;
var tmp$ret$0;
// Inline function 'kotlin.also' call
var tmp0_also = HashMap_init_$Create$(tmp0__anonymous__q1qw7t);
// Inline function 'kotlin.contracts.contract' call
// Inline function 'com.soywiz.klogger.set.<anonymous>.<anonymous>' call
// Inline function 'kotlin.collections.set' call
tmp0_also.a(tmp2_set, value);
tmp$ret$0 = tmp0_also;
tmp$ret$1 = tmp$ret$0;
tmp.i51_1 = tmp$ret$1;
};
Logger.prototype.q51 = function () {
var tmp$ret$0;
// Inline function 'com.soywiz.klogger.get' call
var tmp0_get = Companion_getInstance().z50_1;
var tmp1_get = this.n51_1;
tmp$ret$0 = tmp0_get.i51_1.q(tmp1_get);
var tmp0_elvis_lhs = tmp$ret$0;
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance().e51() : tmp0_elvis_lhs;
return tmp1_elvis_lhs == null ? Level_WARN_getInstance() : tmp1_elvis_lhs;
};
Logger.prototype.r51 = function () {
var tmp$ret$0;
// Inline function 'com.soywiz.klogger.get' call
var tmp0_get = Companion_getInstance().a51_1;
var tmp1_get = this.n51_1;
tmp$ret$0 = tmp0_get.i51_1.q(tmp1_get);
var tmp0_elvis_lhs = tmp$ret$0;
return tmp0_elvis_lhs == null ? Companion_getInstance().g51() : tmp0_elvis_lhs;
};
Logger.prototype.s51 = function (level) {
return level.l51_1 <= this.q51().l51_1;
};
Logger.prototype.t51 = function (msg) {
var tmp0_log = Level_WARN_getInstance();
var tmp;
if (this.s51(tmp0_log)) {
this.u51(tmp0_log, msg());
tmp = Unit_getInstance();
}
return tmp;
};
Logger.prototype.v51 = function (msg) {
var tmp0_log = Level_TRACE_getInstance();
var tmp;
if (this.s51(tmp0_log)) {
this.u51(tmp0_log, msg());
tmp = Unit_getInstance();
}
return tmp;
};
Logger.prototype.u51 = function (level, msg) {
this.r51().m51(this, level, msg);
};
Logger.$metadata$ = classMeta('Logger');
function set(_this__u8e3s4, key, value) {
// Inline function 'com.soywiz.klogger.atomic.KloggerAtomicRef.update' call
var tmp = _this__u8e3s4;
var tmp$ret$1;
// Inline function 'com.soywiz.klogger.set.<anonymous>' call
var tmp0__anonymous__q1qw7t = _this__u8e3s4.i51_1;
var tmp$ret$0;
// Inline function 'kotlin.also' call
var tmp0_also = HashMap_init_$Create$(tmp0__anonymous__q1qw7t);
// Inline function 'kotlin.contracts.contract' call
// Inline function 'com.soywiz.klogger.set.<anonymous>.<anonymous>' call
// Inline function 'kotlin.collections.set' call
tmp0_also.a(key, value);
tmp$ret$0 = tmp0_also;
tmp$ret$1 = tmp$ret$0;
tmp.i51_1 = tmp$ret$1;
}
function get(_this__u8e3s4, key) {
return _this__u8e3s4.i51_1.q(key);
}
function defaultLevel$factory() {
return getPropertyCallableRef('defaultLevel', 1, KMutableProperty1, function (receiver) {
return receiver.e51();
}, function (receiver, value) {
return receiver.d51(value);
});
}
function defaultLevel$factory_0() {
return getPropertyCallableRef('defaultLevel', 1, KMutableProperty1, function (receiver) {
return receiver.e51();
}, function (receiver, value) {
return receiver.d51(value);
});
}
function defaultOutput$factory() {
return getPropertyCallableRef('defaultOutput', 1, KMutableProperty1, function (receiver) {
return receiver.g51();
}, function (receiver, value) {
return receiver.f51(value);
});
}
function defaultOutput$factory_0() {
return getPropertyCallableRef('defaultOutput', 1, KMutableProperty1, function (receiver) {
return receiver.g51();
}, function (receiver, value) {
return receiver.f51(value);
});
}
function getValue(_this__u8e3s4, receiver, property) {
return _this__u8e3s4.i51_1;
}
function setValue(_this__u8e3s4, receiver, property, value) {
_this__u8e3s4.i51_1 = value;
}
function Console() {
Console_instance = this;
BaseConsole.call(this);
}
Console.prototype.h50 = function (kind, msg) {
var tmp0_subject = kind;
var tmp0 = tmp0_subject.q2_1;
switch (tmp0) {
case 0:
(function () {
var $externalVarargReceiverTmp = console;
return $externalVarargReceiverTmp.error.apply($externalVarargReceiverTmp, [].slice.call(msg.slice()));
}.call(this));
;
break;
case 1:
(function () {
var $externalVarargReceiverTmp = console;
return $externalVarargReceiverTmp.warn.apply($externalVarargReceiverTmp, [].slice.call(msg.slice()));
}.call(this));
;
break;
case 2:
(function () {
var $externalVarargReceiverTmp = console;
return $externalVarargReceiverTmp.info.apply($externalVarargReceiverTmp, [].slice.call(msg.slice()));
}.call(this));
;
break;
case 3:
(function () {
var $externalVarargReceiverTmp = console;
return $externalVarargReceiverTmp.log.apply($externalVarargReceiverTmp, [].slice.call(msg.slice()));
}.call(this));
;
break;
case 4:
(function () {
var $externalVarargReceiverTmp = console;
return $externalVarargReceiverTmp.log.apply($externalVarargReceiverTmp, [].slice.call(msg.slice()));
}.call(this));
;
break;
case 5:
(function () {
var $externalVarargReceiverTmp = console;
return $externalVarargReceiverTmp.log.apply($externalVarargReceiverTmp, [].slice.call(msg.slice()));
}.call(this));
;
break;
}
};
Console.$metadata$ = objectMeta('Console', undefined, undefined, undefined, undefined, BaseConsole.prototype);
var Console_instance;
function Console_getInstance() {
if (Console_instance == null)
new Console();
return Console_instance;
}
function DefaultLogOutput() {
DefaultLogOutput_instance = this;
}
DefaultLogOutput.prototype.m51 = function (logger, level, msg) {
return ConsoleLogOutput_getInstance().m51(logger, level, msg);
};
DefaultLogOutput.$metadata$ = objectMeta('DefaultLogOutput', [Output]);
var DefaultLogOutput_instance;
function DefaultLogOutput_getInstance() {
if (DefaultLogOutput_instance == null)
new DefaultLogOutput();
return DefaultLogOutput_instance;
}
function KloggerAtomicRef(initial) {
this.i51_1 = initial;
}
KloggerAtomicRef.prototype.w51 = function (block) {
this.i51_1 = block(this.i51_1);
};
KloggerAtomicRef.$metadata$ = classMeta('KloggerAtomicRef');
var isNative;
//region block: post-declaration
BaseConsole.prototype.s50 = appendAnsiScape;
BaseConsole.prototype.t50 = appendAnsiScape$default;
BaseConsole.prototype.l50 = appendReset;
BaseConsole.prototype.u50 = appendFgColor;
BaseConsole.prototype.k50 = appendFgColor$default;
Console.prototype.s50 = appendAnsiScape;
Console.prototype.t50 = appendAnsiScape$default;
Console.prototype.l50 = appendReset;
Console.prototype.u50 = appendFgColor;
Console.prototype.k50 = appendFgColor$default;
//endregion
//region block: init
baseConsoleHook = null;
isNative = false;
//endregion
//region block: exports
_.$_$ = _.$_$ || {};
_.$_$.a = valueOf;
_.$_$.b = Level_ERROR_getInstance;
_.$_$.c = Level_TRACE_getInstance;
_.$_$.d = Level_WARN_getInstance;
_.$_$.e = Console_getInstance;
_.$_$.f = Companion_getInstance;
//endregion
return _;
}));
//# sourceMappingURL=korlibs-klogger.js.map