Macadamian/titanium_mobile — pull request #85 by dlifshitz-maca (2012-06-25 20:28:18+00:00)
Title: TIMOB-9306: Blackberry: add a universal logging mechanism for tibb

Reviewers: David C, Harut

[Issues Fixed]
TIMOB-9306: Blackberry: add a universal logging mechanism for tibb

[Added]
NativeLoggerInterface.h
NativeLoggerObject.cpp
NativeLoggerObject.h
NativeLoggerWorker.cpp
NativeLoggerWorker.h
TiLogger.cpp
TiLogger.h

[Changes]
NativeAbstractTextControlObject.cpp
- switched to use N_DEBUG

NativeObject.h
- added N_TYPE_LOGGER
- removed old Ti_DEBUG

NativeObjectFactory.cpp
- added N_TYPE_LOGGER

TiUITableView.cpp
- switched to use Ti_DEBUG

TitaniumRuntime.cpp
- initialize TiLogger

[Tests]
Test 1: Use logger
1) Put some Ti_DEBUG and N_DEBUG statements in the code that will be run
2) Build tibb and verify there are no errors
3) Create, build, and run a new project
4) Verify the logging statements are in the app's log and are not intermingled