mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2026-10-31 16:52:54 +00:00
deploy: 00da37e060
This commit is contained in:
1 parent
2a0d9dd591
commit
8960d421c2
103 files changed
+3491
-2243
No files matched your search
+1
-1
@@ -40,5 +40,5 @@ object-assign
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var t,r,o,i;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;n.unstable_now=function(){return a.now()}}else{var l=Date,c=l.now();n.unstable_now=function(){return l.now()-c}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,f=function(){if(null!==u)try{var e=n.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(f,0),e}};t=function(e){null!==u?setTimeout(t,0,e):(u=e,setTimeout(f,0))},r=function(e,n){s=setTimeout(e,n)},o=function(){clearTimeout(s)},n.unstable_shouldYield=function(){return!1},i=n.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,d=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,v=null,A=-1,b=5,m=0;n.unstable_shouldYield=function(){return n.unstable_now()>=m},i=function(){},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<e?Math.floor(1e3/e):5};var y=new MessageChannel,E=y.port2;y.port1.onmessage=function(){if(null!==v){var e=n.unstable_now();m=e+b;try{v(!0,e)?E.postMessage(null):(g=!1,v=null)}catch(e){throw E.postMessage(null),e}}else g=!1},t=function(e){v=e,g||(g=!0,E.postMessage(null))},r=function(e,t){A=p((function(){e(n.unstable_now())}),t)},o=function(){d(A),A=-1}}function _(e,n){var t=e.length;e.push(n);e:for(;;){var r=t-1>>>1,o=e[r];if(!(void 0!==o&&0<x(o,n)))break e;e[r]=n,e[t]=o,t=r}}function C(e){return void 0===(e=e[0])?null:e}function w(e){var n=e[0];if(void 0!==n){var t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,c=e[l];if(void 0!==a&&0>x(a,t))void 0!==c&&0>x(c,a)?(e[r]=c,e[l]=t,r=l):(e[r]=a,e[i]=t,r=i);else{if(!(void 0!==c&&0>x(c,t)))break e;e[r]=c,e[l]=t,r=l}}}return n}return null}function x(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}var k=[],S=[],O=1,B=null,I=3,T=!1,P=!1,j=!1;function z(e){for(var n=C(S);null!==n;){if(null===n.callback)w(S);else{if(!(n.startTime<=e))break;w(S),n.sortIndex=n.expirationTime,_(k,n)}n=C(S)}}function R(e){if(j=!1,z(e),!P)if(null!==C(k))P=!0,t(M);else{var n=C(S);null!==n&&r(R,n.startTime-e)}}function M(e,t){P=!1,j&&(j=!1,o()),T=!0;var i=I;try{for(z(t),B=C(k);null!==B&&(!(B.expirationTime>t)||e&&!n.unstable_shouldYield());){var a=B.callback;if("function"==typeof a){B.callback=null,I=B.priorityLevel;var l=a(B.expirationTime<=t);t=n.unstable_now(),"function"==typeof l?B.callback=l:B===C(k)&&w(k),z(t)}else w(k);B=C(k)}if(null!==B)var c=!0;else{var u=C(S);null!==u&&r(R,u.startTime-t),c=!1}return c}finally{B=null,I=i,T=!1}}var D=i;n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_continueExecution=function(){P||T||(P=!0,t(M))},n.unstable_getCurrentPriorityLevel=function(){return I},n.unstable_getFirstCallbackNode=function(){return C(k)},n.unstable_next=function(e){switch(I){case 1:case 2:case 3:var n=3;break;default:n=I}var t=I;I=n;try{return e()}finally{I=t}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=D,n.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=I;I=e;try{return n()}finally{I=t}},n.unstable_scheduleCallback=function(e,i,a){var l=n.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?l+a:l:a=l,e){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return e={id:O++,callback:i,priorityLevel:e,startTime:a,expirationTime:c=a+c,sortIndex:-1},a>l?(e.sortIndex=a,_(S,e),null===C(k)&&e===C(S)&&(j?o():j=!0,r(R,a-l))):(e.sortIndex=c,_(k,e),P||T||(P=!0,t(M))),e},n.unstable_wrapCallback=function(e){var n=I;return function(){var t=I;I=n;try{return e.apply(this,arguments)}finally{I=t}}}},3840:(e,n,t)=>{"use strict";e.exports=t(53)},7478:(e,n,t)=>{"use strict";var r=t(210),o=t(1924),i=t(631),a=r("%TypeError%"),l=r("%WeakMap%",!0),c=r("%Map%",!0),u=o("WeakMap.prototype.get",!0),s=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),g=function(e,n){for(var t,r=e;null!==(t=r.next);r=t)if(t.key===n)return r.next=t.next,t.next=e.next,e.next=t,t};e.exports=function(){var e,n,t,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(l&&r&&("object"==typeof r||"function"==typ
Line truncated
|
||||
*/var t,r,o,i;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;n.unstable_now=function(){return a.now()}}else{var l=Date,c=l.now();n.unstable_now=function(){return l.now()-c}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,f=function(){if(null!==u)try{var e=n.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(f,0),e}};t=function(e){null!==u?setTimeout(t,0,e):(u=e,setTimeout(f,0))},r=function(e,n){s=setTimeout(e,n)},o=function(){clearTimeout(s)},n.unstable_shouldYield=function(){return!1},i=n.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,d=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,v=null,A=-1,b=5,m=0;n.unstable_shouldYield=function(){return n.unstable_now()>=m},i=function(){},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<e?Math.floor(1e3/e):5};var y=new MessageChannel,E=y.port2;y.port1.onmessage=function(){if(null!==v){var e=n.unstable_now();m=e+b;try{v(!0,e)?E.postMessage(null):(g=!1,v=null)}catch(e){throw E.postMessage(null),e}}else g=!1},t=function(e){v=e,g||(g=!0,E.postMessage(null))},r=function(e,t){A=p((function(){e(n.unstable_now())}),t)},o=function(){d(A),A=-1}}function _(e,n){var t=e.length;e.push(n);e:for(;;){var r=t-1>>>1,o=e[r];if(!(void 0!==o&&0<x(o,n)))break e;e[r]=n,e[t]=o,t=r}}function C(e){return void 0===(e=e[0])?null:e}function w(e){var n=e[0];if(void 0!==n){var t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,c=e[l];if(void 0!==a&&0>x(a,t))void 0!==c&&0>x(c,a)?(e[r]=c,e[l]=t,r=l):(e[r]=a,e[i]=t,r=i);else{if(!(void 0!==c&&0>x(c,t)))break e;e[r]=c,e[l]=t,r=l}}}return n}return null}function x(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}var k=[],S=[],O=1,B=null,I=3,T=!1,P=!1,j=!1;function z(e){for(var n=C(S);null!==n;){if(null===n.callback)w(S);else{if(!(n.startTime<=e))break;w(S),n.sortIndex=n.expirationTime,_(k,n)}n=C(S)}}function R(e){if(j=!1,z(e),!P)if(null!==C(k))P=!0,t(M);else{var n=C(S);null!==n&&r(R,n.startTime-e)}}function M(e,t){P=!1,j&&(j=!1,o()),T=!0;var i=I;try{for(z(t),B=C(k);null!==B&&(!(B.expirationTime>t)||e&&!n.unstable_shouldYield());){var a=B.callback;if("function"==typeof a){B.callback=null,I=B.priorityLevel;var l=a(B.expirationTime<=t);t=n.unstable_now(),"function"==typeof l?B.callback=l:B===C(k)&&w(k),z(t)}else w(k);B=C(k)}if(null!==B)var c=!0;else{var u=C(S);null!==u&&r(R,u.startTime-t),c=!1}return c}finally{B=null,I=i,T=!1}}var D=i;n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_continueExecution=function(){P||T||(P=!0,t(M))},n.unstable_getCurrentPriorityLevel=function(){return I},n.unstable_getFirstCallbackNode=function(){return C(k)},n.unstable_next=function(e){switch(I){case 1:case 2:case 3:var n=3;break;default:n=I}var t=I;I=n;try{return e()}finally{I=t}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=D,n.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=I;I=e;try{return n()}finally{I=t}},n.unstable_scheduleCallback=function(e,i,a){var l=n.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?l+a:l:a=l,e){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return e={id:O++,callback:i,priorityLevel:e,startTime:a,expirationTime:c=a+c,sortIndex:-1},a>l?(e.sortIndex=a,_(S,e),null===C(k)&&e===C(S)&&(j?o():j=!0,r(R,a-l))):(e.sortIndex=c,_(k,e),P||T||(P=!0,t(M))),e},n.unstable_wrapCallback=function(e){var n=I;return function(){var t=I;I=n;try{return e.apply(this,arguments)}finally{I=t}}}},3840:(e,n,t)=>{"use strict";e.exports=t(53)},7478:(e,n,t)=>{"use strict";var r=t(210),o=t(1924),i=t(631),a=r("%TypeError%"),l=r("%WeakMap%",!0),c=r("%Map%",!0),u=o("WeakMap.prototype.get",!0),s=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),g=function(e,n){for(var t,r=e;null!==(t=r.next);r=t)if(t.key===n)return r.next=t.next,t.next=e.next,e.next=t,t};e.exports=function(){var e,n,t,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(l&&r&&("object"==typeof r||"function"==typ
Line truncated
|
||||
//# sourceMappingURL=main.js.map
|
||||
+1
-1
@@ -1 +1 @@
|
||||
[{"name":"ASSERT","description":"dev.inmo.kslog.common.LogLevel.ASSERT","location":"kslog/dev.inmo.kslog.common/-log-level/-a-s-s-e-r-t/index.html","searchKeys":["ASSERT","ASSERT","dev.inmo.kslog.common.LogLevel.ASSERT"]},{"name":"DEBUG","description":"dev.inmo.kslog.common.LogLevel.DEBUG","location":"kslog/dev.inmo.kslog.common/-log-level/-d-e-b-u-g/index.html","searchKeys":["DEBUG","DEBUG","dev.inmo.kslog.common.LogLevel.DEBUG"]},{"name":"ERROR","description":"dev.inmo.kslog.common.LogLevel.ERROR","location":"kslog/dev.inmo.kslog.common/-log-level/-e-r-r-o-r/index.html","searchKeys":["ERROR","ERROR","dev.inmo.kslog.common.LogLevel.ERROR"]},{"name":"INFO","description":"dev.inmo.kslog.common.LogLevel.INFO","location":"kslog/dev.inmo.kslog.common/-log-level/-i-n-f-o/index.html","searchKeys":["INFO","INFO","dev.inmo.kslog.common.LogLevel.INFO"]},{"name":"VERBOSE","description":"dev.inmo.kslog.common.LogLevel.VERBOSE","location":"kslog/dev.inmo.kslog.common/-log-level/-v-e-r-b-o-s-e/index.html","searchKeys":["VERBOSE","VERBOSE","dev.inmo.kslog.common.LogLevel.VERBOSE"]},{"name":"WARNING","description":"dev.inmo.kslog.common.LogLevel.WARNING","location":"kslog/dev.inmo.kslog.common/-log-level/-w-a-r-n-i-n-g/index.html","searchKeys":["WARNING","WARNING","dev.inmo.kslog.common.LogLevel.WARNING"]},{"name":"abstract fun performLog(level: LogLevel, tag: String?, message: Any, throwable: Throwable?)","description":"dev.inmo.kslog.common.KSLog.performLog","location":"kslog/dev.inmo.kslog.common/-k-s-log/perform-log.html","searchKeys":["performLog","abstract fun performLog(level: LogLevel, tag: String?, message: Any, throwable: Throwable?)","dev.inmo.kslog.common.KSLog.performLog"]},{"name":"class CallbackKSLog(performLogCallback: SimpleKSLogCallback) : KSLog","description":"dev.inmo.kslog.common.CallbackKSLog","location":"kslog/dev.inmo.kslog.common/-callback-k-s-log/index.html","searchKeys":["CallbackKSLog","class CallbackKSLog(performLogCallback: SimpleKSLogCallback) : KSLog","dev.inmo.kslog.common.CallbackKSLog"]},{"name":"class DefaultKSLog(defaultTag: String, messageFormatter: MessageFormatter = defaultMessageFormatter, logging: (level: LogLevel, tag: String, message: Any, throwable: Throwable?) -> Unit = defaultLogging) : KSLog","description":"dev.inmo.kslog.common.DefaultKSLog","location":"kslog/dev.inmo.kslog.common/-default-k-s-log/index.html","searchKeys":["DefaultKSLog","class DefaultKSLog(defaultTag: String, messageFormatter: MessageFormatter = defaultMessageFormatter, logging: (level: LogLevel, tag: String, message: Any, throwable: Throwable?) -> Unit = defaultLogging) : KSLog","dev.inmo.kslog.common.DefaultKSLog"]},{"name":"class FilterKSLog(fallbackLogger: KSLog, messageFilter: MessageFilter) : KSLog","description":"dev.inmo.kslog.common.filter.FilterKSLog","location":"kslog/dev.inmo.kslog.common.filter/-filter-k-s-log/index.html","searchKeys":["FilterKSLog","class FilterKSLog(fallbackLogger: KSLog, messageFilter: MessageFilter) : KSLog","dev.inmo.kslog.common.filter.FilterKSLog"]},{"name":"class TypedKSLog(typedLoggers: Map<KClass<*>?, KSLog>) : KSLog","description":"dev.inmo.kslog.common.typed.TypedKSLog","location":"kslog/dev.inmo.kslog.common.typed/-typed-k-s-log/index.html","searchKeys":["TypedKSLog","class TypedKSLog(typedLoggers: Map<KClass<*>?, KSLog>) : KSLog","dev.inmo.kslog.common.typed.TypedKSLog"]},{"name":"class TypedKSLogBuilder(preset: Map<KClass<*>?, KSLog> = emptyMap())","description":"dev.inmo.kslog.common.typed.TypedKSLogBuilder","location":"kslog/dev.inmo.kslog.common.typed/-typed-k-s-log-builder/index.html","searchKeys":["TypedKSLogBuilder","class TypedKSLogBuilder(preset: Map<KClass<*>?, KSLog> = emptyMap())","dev.inmo.kslog.common.typed.TypedKSLogBuilder"]},{"name":"constructor(defaultTag: String, messageFormatter: MessageFormatter = defaultMessageFormatter, logging: (level: LogLevel, tag: String, message: Any, throwable: Throwable?) -> Unit = defaultLogging)","description":"dev.inmo.kslog.common.DefaultKSLog.DefaultKSLog","location":"kslog/dev.inmo.kslog.common/-default-k-s-log/-default-k-s-log.html","searchKeys":["DefaultKSLog","constructor(defaultTag: String, messageFormatter: MessageFormatter = defaultMessageFormatter, logging: (level: LogLevel, tag: String, message: Any, throwable: Throwable?) -> Unit = defaultLogging)","dev.inmo.kslog.common.DefaultKSLog.DefaultKSLog"]},{"name":"constructor(fallbackLogger: KSLog, messageFilter: MessageFilter)","description":"dev.inmo.kslog.common.filter.FilterKSLog.FilterKSLog","location":"kslog/dev.inmo.kslog.common.filter/-filter-k-s-log/-filter-k-s-log.html","searchKeys":["FilterKSLog","constructor(fallbackLogger: KSLog, messageFilter: MessageFilter)","dev.inmo.kslog.common.filter.FilterKSLog.FilterKSLog"]},{"name":"constructor(performLogCallback: SimpleKSLogCallback)","description":"dev.inmo.kslog.common.CallbackKSLog.CallbackKSLog","location":"kslog/dev.inmo.kslog.common/-callback-k-s-log/-callback-k-s-log.html","searchKeys":["CallbaLine truncated
|
||||
[{"name":"ASSERT","description":"dev.inmo.kslog.common.LogLevel.ASSERT","location":"kslog/dev.inmo.kslog.common/-log-level/-a-s-s-e-r-t/index.html","searchKeys":["ASSERT","ASSERT","dev.inmo.kslog.common.LogLevel.ASSERT"]},{"name":"DEBUG","description":"dev.inmo.kslog.common.LogLevel.DEBUG","location":"kslog/dev.inmo.kslog.common/-log-level/-d-e-b-u-g/index.html","searchKeys":["DEBUG","DEBUG","dev.inmo.kslog.common.LogLevel.DEBUG"]},{"name":"ERROR","description":"dev.inmo.kslog.common.LogLevel.ERROR","location":"kslog/dev.inmo.kslog.common/-log-level/-e-r-r-o-r/index.html","searchKeys":["ERROR","ERROR","dev.inmo.kslog.common.LogLevel.ERROR"]},{"name":"INFO","description":"dev.inmo.kslog.common.LogLevel.INFO","location":"kslog/dev.inmo.kslog.common/-log-level/-i-n-f-o/index.html","searchKeys":["INFO","INFO","dev.inmo.kslog.common.LogLevel.INFO"]},{"name":"VERBOSE","description":"dev.inmo.kslog.common.LogLevel.VERBOSE","location":"kslog/dev.inmo.kslog.common/-log-level/-v-e-r-b-o-s-e/index.html","searchKeys":["VERBOSE","VERBOSE","dev.inmo.kslog.common.LogLevel.VERBOSE"]},{"name":"WARNING","description":"dev.inmo.kslog.common.LogLevel.WARNING","location":"kslog/dev.inmo.kslog.common/-log-level/-w-a-r-n-i-n-g/index.html","searchKeys":["WARNING","WARNING","dev.inmo.kslog.common.LogLevel.WARNING"]},{"name":"abstract fun performLog(level: LogLevel, tag: String?, message: Any, throwable: Throwable?)","description":"dev.inmo.kslog.common.KSLog.performLog","location":"kslog/dev.inmo.kslog.common/-k-s-log/perform-log.html","searchKeys":["performLog","abstract fun performLog(level: LogLevel, tag: String?, message: Any, throwable: Throwable?)","dev.inmo.kslog.common.KSLog.performLog"]},{"name":"class CallbackKSLog(performLogCallback: SimpleKSLogCallback) : KSLog","description":"dev.inmo.kslog.common.CallbackKSLog","location":"kslog/dev.inmo.kslog.common/-callback-k-s-log/index.html","searchKeys":["CallbackKSLog","class CallbackKSLog(performLogCallback: SimpleKSLogCallback) : KSLog","dev.inmo.kslog.common.CallbackKSLog"]},{"name":"class DefaultKSLog(defaultTag: String, messageFormatter: MessageFormatter = defaultMessageFormatter, logging: (level: LogLevel, tag: String, message: Any, throwable: Throwable?) -> Unit = defaultLogging) : KSLog","description":"dev.inmo.kslog.common.DefaultKSLog","location":"kslog/dev.inmo.kslog.common/-default-k-s-log/index.html","searchKeys":["DefaultKSLog","class DefaultKSLog(defaultTag: String, messageFormatter: MessageFormatter = defaultMessageFormatter, logging: (level: LogLevel, tag: String, message: Any, throwable: Throwable?) -> Unit = defaultLogging) : KSLog","dev.inmo.kslog.common.DefaultKSLog"]},{"name":"class FilterKSLog(fallbackLogger: KSLog, messageFilter: MessageFilter) : KSLog","description":"dev.inmo.kslog.common.filter.FilterKSLog","location":"kslog/dev.inmo.kslog.common.filter/-filter-k-s-log/index.html","searchKeys":["FilterKSLog","class FilterKSLog(fallbackLogger: KSLog, messageFilter: MessageFilter) : KSLog","dev.inmo.kslog.common.filter.FilterKSLog"]},{"name":"class TypedKSLog(typedLoggers: Map<KClass<*>?, KSLog>) : KSLog","description":"dev.inmo.kslog.common.typed.TypedKSLog","location":"kslog/dev.inmo.kslog.common.typed/-typed-k-s-log/index.html","searchKeys":["TypedKSLog","class TypedKSLog(typedLoggers: Map<KClass<*>?, KSLog>) : KSLog","dev.inmo.kslog.common.typed.TypedKSLog"]},{"name":"class TypedKSLogBuilder(preset: Map<KClass<*>?, KSLog> = emptyMap())","description":"dev.inmo.kslog.common.typed.TypedKSLogBuilder","location":"kslog/dev.inmo.kslog.common.typed/-typed-k-s-log-builder/index.html","searchKeys":["TypedKSLogBuilder","class TypedKSLogBuilder(preset: Map<KClass<*>?, KSLog> = emptyMap())","dev.inmo.kslog.common.typed.TypedKSLogBuilder"]},{"name":"constructor(defaultTag: String, messageFormatter: MessageFormatter = defaultMessageFormatter, logging: (level: LogLevel, tag: String, message: Any, throwable: Throwable?) -> Unit = defaultLogging)","description":"dev.inmo.kslog.common.DefaultKSLog.DefaultKSLog","location":"kslog/dev.inmo.kslog.common/-default-k-s-log/-default-k-s-log.html","searchKeys":["DefaultKSLog","constructor(defaultTag: String, messageFormatter: MessageFormatter = defaultMessageFormatter, logging: (level: LogLevel, tag: String, message: Any, throwable: Throwable?) -> Unit = defaultLogging)","dev.inmo.kslog.common.DefaultKSLog.DefaultKSLog"]},{"name":"constructor(fallbackLogger: KSLog, messageFilter: MessageFilter)","description":"dev.inmo.kslog.common.filter.FilterKSLog.FilterKSLog","location":"kslog/dev.inmo.kslog.common.filter/-filter-k-s-log/-filter-k-s-log.html","searchKeys":["FilterKSLog","constructor(fallbackLogger: KSLog, messageFilter: MessageFilter)","dev.inmo.kslog.common.filter.FilterKSLog.FilterKSLog"]},{"name":"constructor(performLogCallback: SimpleKSLogCallback)","description":"dev.inmo.kslog.common.CallbackKSLog.CallbackKSLog","location":"kslog/dev.inmo.kslog.common/-callback-k-s-log/-callback-k-s-log.html","searchKeys":["CallbaLine truncated
|
||||
@@ -82,7 +82,7 @@ const samplesAreEnabled = () => {
|
||||
|
||||
|
||||
const initHidingLeftNavigation = () => {
|
||||
document.getElementById("leftToggler").onclick = function (event) {
|
||||
document.getElementById("menu-toggle").onclick = function (event) {
|
||||
//Events need to be prevented from bubbling since they will trigger next handler
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
@@ -329,6 +329,16 @@ function refreshFiltering() {
|
||||
refreshFilterButtons()
|
||||
refreshPlatformTabs()
|
||||
refreshNoContentNotification()
|
||||
refreshPlaygroundSamples()
|
||||
}
|
||||
|
||||
function refreshPlaygroundSamples() {
|
||||
document.querySelectorAll('code.runnablesample').forEach(node => {
|
||||
const playground = node.KotlinPlayground;
|
||||
/* Some samples may be hidden by filter, they have 0px height for visible code area
|
||||
* after rendering. Call this method for re-calculate code area height */
|
||||
playground && playground.view.codemirror.refresh();
|
||||
});
|
||||
}
|
||||
|
||||
function refreshNoContentNotification() {
|
||||
|
||||
Reference in new issue
Block a user