Console API: Pass context information from js to qt logging framework
authorKai Koehne <kai.koehne@nokia.com>
Mon, 13 Feb 2012 13:35:21 +0000 (14:35 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 20 Feb 2012 16:59:38 +0000 (17:59 +0100)
commitc3f5905b5204105172c9745ee2171c9e0c0c4750
treeae0c8349344593a42e2674425f42cce34d6f0ccc
parent6c24d2feb43f6d640d83ee6e5ac01a1bdac3d0ce
Console API: Pass context information from js to qt logging framework

Log the file, line, function context from the original calls in js.
Also print the stack trace as part of one multi-line message.

Change-Id: I53836df081f3ce06e9b52ebb647ba172ff6bdbef
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
src/declarative/qml/v8/qdeclarativebuiltinfunctions.cpp
tests/auto/declarative/debugger/qdebugmessageservice/tst_qdebugmessageservice.cpp
tests/auto/declarative/qdeclarativeconsole/tst_qdeclarativeconsole.cpp