Debug and check logs in terminal for Android

cordova version : 5.1.1
ionic version : 1.7.16

adb logcat WebViewCallback:D *:S (1)
D/WebViewCallback(12225): onConsoleMessage (2)

To display the console logs, I use the command (1) and it is working for me except that instead of displaying the text string I encoded within the console.log, it displays the text (2). Been searching on Google but can’t find an answer on how to decode the original text message I encoded instead of ‘onConsoleMessage’. I would gladly appreciate if anyone could help figure this out. Thanks!