function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KruviKruvi 

Programmatically search apex debug logs

Hi

 

I'm not sure how to do the following:

 

I want to Programmatically seach the debug logs to see if it contains some String I wrote for debugging.

I have many log files so I do not want to open each one but search Programmatically.

 

Can this be done?

 

I really need some help

 

Many thanks

 

 

MandyKoolMandyKool

Hi,

 

Not sure what exactly what you have to do with debug statements. But if you just want to debug your code; open the "Developer Console" and run your app/code in Salesforce.com. Then you can search for the specific string in your "Developer Console" Window.

 

 

KruviKruvi

But even with the developer console I cannot search all the files at once only one by one.

Since I have many files I cannot search one by one

 

Any ideas?