Enable debugging in Firebase Android

You can enable debugging in Firebase using following code.

Firebase.getDefaultConfig().setLogLevel(Logger.Level.DEBUG);
 
Output will be look like following snapshot.

05-14 02:32:11.089 6645-7531/com.aybits.discoversaints.discoversaints D/PersistentConnection: pc_0 - Listening on /saints/video:{}
05-14 02:32:11.089 6645-7531/com.aybits.discoversaints.discoversaints D/PersistentConnection: pc_0 - Adding listen query: /saints/video:{}
05-14 02:32:18.001 6645-7531/com.aybits.discoversaints.discoversaints D/PersistentConnection: pc_0 - unlistening on /saints/video:{}
05-14 02:32:18.001 6645-7531/com.aybits.discoversaints.discoversaints D/PersistentConnection: pc_0 - removing query /saints/video:{}
05-14 02:32:18.002 6645-7531/com.aybits.discoversaints.discoversaints D/PersistentConnection: pc_0 - Listening on /saints/video:{}
05-14 02:32:18.002 6645-7531/com.aybits.discoversaints.discoversaints D/PersistentConnection: pc_0 - Adding listen query: /saints/video:{}

Comments

Popular posts from this blog

Fatal: LoadModule: error loading module 'mod_sql_mysql.c'

How to hide Android Soft Keyboard