-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.55..v0.2.56 changeset LogJs.cpp
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-js/src/main/cpp/hoot/js/util/LogJs.cpp b/hoot-js/src/main/cpp/hoot/js/util/LogJs.cpp
index e6a3a61..6d07f31 100644
--- a/hoot-js/src/main/cpp/hoot/js/util/LogJs.cpp
+++ b/hoot-js/src/main/cpp/hoot/js/util/LogJs.cpp
@@ -45,14 +45,6 @@ HOOT_JS_REGISTER(LogJs)
QHash<QString, int> LogJs::_logs;
-LogJs::LogJs()
-{
-}
-
-LogJs::~LogJs()
-{
-}
-
void LogJs::Init(Handle<Object> exports)
{
Isolate* current = exports->GetIsolate();
@@ -114,8 +106,8 @@ void LogJs::log(const FunctionCallbackInfo<Value>& args, Log::WarningLevel level
script = toString(frame->GetScriptName()).replace("\"", "");
functionName = toString(frame->GetFunctionName());
}
- LOG_VART(script);
- LOG_VART(functionName);
+ //LOG_VART(script);
+ //LOG_VART(functionName);
std::stringstream rMessage;
for (int i = 0; i < args.Length(); i++)