Fix typo in singleton
Rename IS_PHONE() and IS_PAD() to DEVICE_IS...
Add DEBUG_LOG_EXPR() and DEBUG_LOG_FUNCTION()