diff --git a/logger.ts b/logger.ts index 15ae461..32ee9b3 100644 --- a/logger.ts +++ b/logger.ts @@ -5,7 +5,8 @@ const c=(function(oldCons){ return { log: function(text){ oldCons.log(text); - _loggerdata += text + "\n" + if (_loggerdata !== "") _loggerdata += "\n" + _loggerdata += text }, info: function (text) { oldCons.info(text);