package com.sample

import java.math.BigDecimal;

global org.apache.log4j.Logger logger;

rule "using globan in function"
	when
		eval( aFunction( ) );
	then
		logger.info("OK!");
end

function boolean aFunction() {
	logger.info("logger showed as suggestion!");
	
	return true;
}