Integrate NSLog function to Activity Markers
Default NSLog class that comes with iOS and iPadOS framework has the ability to print log statements to console.
Developers can add NSLog statements in the project to activity trail. Once added, these markers will be shown along with the lifecycle events, when an issue is reported.
There is no limit to the number of log markers that can be set by the developer. Only when an issue is raised, these activity markers are sent to the server.
Any where in the project:
- Objective C
- Swift
//Replace NSLog() calls in project with AxLog()
AxLog(@"The code runs through here!");
//Replace NSLog() calls in project with AxLog()
AxLog("The code runs through here!")