Format console log better

This commit is contained in:
Corey Johnson 2012-03-14 09:51:58 -07:00
parent ae298cf409
commit ac61e18f2c

View File

@ -211,7 +211,13 @@ bool ClientHandler::OnConsoleMessage(CefRefPtr<CefBrowser> browser,
{
REQUIRE_UI_THREAD();
std::cout << std::string(message) << "\n";
std::cout <<
std::string(message) <<
"\n\t" <<
std::string(source) <<
":" <<
line <<
"\n";
return true;
}