Update ReactAndroid/main/jni/react to use glog for logging

Summary:
Updates uses of FBLOG* and FBASSERT* to their glog equivalents.

public

Reviewed By: astreet

Differential Revision: D2905159

fb-gh-sync-id: 1f916283aa3de68d8469c8d4ca7fa0874cec28ef
This commit is contained in:
Chris Hopman
2016-02-05 18:09:21 -08:00
committed by facebook-github-bot-2
parent 294185ac32
commit fc94f1e6d0
4 changed files with 13 additions and 14 deletions

View File

@@ -3,7 +3,7 @@
#include "JSCHelpers.h"
#include <JavaScriptCore/JSStringRef.h>
#include <fb/log.h>
#include <glog/logging.h>
#include <jni/fbjni/Exceptions.h>
#include "Value.h"
@@ -52,7 +52,7 @@ JSValueRef evaluateScript(JSContextRef context, JSStringRef script, JSStringRef
if (result == nullptr) {
Value exception = Value(context, exn);
std::string exceptionText = exception.toString().str();
FBLOGE("Got JS Exception: %s", exceptionText.c_str());
LOG(ERROR) << "Got JS Exception: " << exceptionText;
auto line = exception.asObject().getProperty("line");
std::ostringstream locationInfo;