Remove bad console.log

This commit is contained in:
Fabian Stamm 2020-04-15 19:59:24 +02:00
parent ca896c1c34
commit 7ae1c3e16e
3 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@hibas123/logging",
"version": "2.4.0",
"version": "2.4.1",
"description": "",
"main": "out/index.js",
"types": "out/index.d.ts",

View File

@ -488,7 +488,6 @@ function getCallerFile() {
while (stack.length) {
let caller_file = stack.shift();
if (current_file !== caller_file.getFileName()) {
console.log(Object.keys(caller_file));
return {
file: caller_file.getFileName(),
line: caller_file.getLineNumber(),

View File

@ -157,7 +157,7 @@ export class ConsoleAdapter implements Adapter {
console.log(prefix + text);
});
} else {
message.text.raw.forEach(console.log.bind(console));
message.text.raw.forEach((line) => console.log(prefix + line));
}
}
}