Refactor RLog
Update AppExample
Fix _deviceId value
Update test