1
0
mirror of https://git.stamm.me/OpenServer/NodeLogging.git synced 2024-11-15 02:31:03 +00:00

removing debug message output...

This commit is contained in:
Fabian Stamm 2017-10-21 12:47:20 +02:00
parent f8034d9758
commit 8f4b7c19e0
4 changed files with 2 additions and 4 deletions

View File

@ -181,7 +181,6 @@ function _getCallerFile() {
current_file = err.stack.shift().getFileName(); current_file = err.stack.shift().getFileName();
while (err.stack.length) { while (err.stack.length) {
caller_file = err.stack.shift().getFileName(); caller_file = err.stack.shift().getFileName();
console.log(caller_file);
if (current_file !== caller_file) if (current_file !== caller_file)
return path.basename(caller_file); return path.basename(caller_file);
} }

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "logger-perfcloud", "name": "logger-perfcloud",
"version": "1.0.5", "version": "1.0.6",
"description": "", "description": "",
"main": "out/index.js", "main": "out/index.js",
"types": "out/index.d.ts", "types": "out/index.d.ts",

View File

@ -190,7 +190,6 @@ function _getCallerFile() {
while (err.stack.length) { while (err.stack.length) {
caller_file = (<any>err.stack).shift().getFileName(); caller_file = (<any>err.stack).shift().getFileName();
console.log(caller_file);
if (current_file !== caller_file) return path.basename(caller_file); if (current_file !== caller_file) return path.basename(caller_file);
} }
} catch (err) { } } catch (err) { }