Expand my Community achievements bar.

is there any way to print only relevant logs in Xcode?

Avatar

Level 1

We are using AEP frameworks for our iOS apps, we can see the traces and ndh logs in the Xcode console which is good. but there are so many different logs which makes it confusing to identify the correct one, I just want to see the formatted logs, is it possible to do that?

I have set the loglevel to traces, like:

MobileCore.setLogLevel(.trace)

1 Reply

Avatar

Level 1

I Just want to see the logs which starts with 

[AEP SDK TRACE - <EventHub>] 

Any not 
another like:

[AEP SDK TRACE - <Launch Rules Engine>]

[AEP SDK WARNING - <EventHub>]

[AEP SDK TRACE - <AnalyticsState>]

[AEP SDK DEBUG - <AnalyticsDatabase>]