You need to sign in to do that
Don't have an account?
Sales Force FRM
how to log info of my class !
Hi Folks,
I have trigger and class as follows:
-------
I have trigger and class as follows:
trigger SampleTrigger on Opportunity (after insert) {class:
SampleOpportunity s=new SampleOpportunity();
s.sample();
}
-------
public class SampleOpportunity {
public void sample(){
integer opp1=1;
integer opp2=2;
system.debug('ONE :'+opp1);
system.debug('TWO :'+opp2);
}
}
Now i want log the debug statements( Indicated in brown) in to a separate log file or a place where can i see the complete
action of a class which is logged , so i can understand what the status of class at each level!
finally i would like to have a separate file which have a log info my class!
Regards,
Rajeshwar.