removing debug message output...
This commit is contained in:
parent
f8034d9758
commit
8f4b7c19e0
@ -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
@ -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",
|
||||||
|
@ -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) { }
|
||||||
|
Loading…
Reference in New Issue
Block a user