loading...

React Native Debugging Using Console.Log()

skptricks profile image skptricks ・1 min read

Post Link : React Native Debugging Using Console.Log()

This tutorial explains how to perform debugging using console.log() in react native application. Console.log() is a inbuilt and predefined function present in javascript. This function is created for both Android and iOS applications and used to maintain and debug errors in apps on run time. Console.log() helps us to detect errors in our code.

In this example we are using console.log statement inside the function and that function mapped to the button as a click listener. When user perform click event on the button, then it will print console.log statement message in the console. Here we are using android studio for the demonstration, whenever user click on the button, then you can see the console.log messages in logcat section of android studio. Refer the below screenshot for the example.

React Native Debugging Using Console.Log()

Posted on by:

skptricks profile

skptricks

@skptricks

Welcome to skptricks, I have written and developed this site so that Learner may learn computer science related technologies and various programming ...

Discussion

pic
Editor guide