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 746bfe9..e6a3a61 100644
--- a/hoot-js/src/main/cpp/hoot/js/util/LogJs.cpp
+++ b/hoot-js/src/main/cpp/hoot/js/util/LogJs.cpp
@@ -114,8 +114,8 @@ void LogJs::log(const FunctionCallbackInfo<Value>& args, Log::WarningLevel level
script = toString(frame->GetScriptName()).replace("\"", "");
functionName = toString(frame->GetFunctionName());
}
- LOG_VARD(script);
- LOG_VARD(functionName);
+ LOG_VART(script);
+ LOG_VART(functionName);
std::stringstream rMessage;
for (int i = 0; i < args.Length(); i++)