global
com.sample.ExampleLogger customLogger;function
void logMessage(String msg){ customLogger.logMessage("Log Message from the function");}
In the above code, it complains "customLogger cannot be resolved". I am able to refer the global in the consequence of a rule directly. What is the problem using the reference within a function.function void logMessage(ExampleLogger custLogger,String msg){
custLogger.logMessage(msg+
" Accept gloabal as function parameter"); }Thanks
--
Natraj Gudla