A simple example for writing log entries from Liferay velocity templates
#set ($logFactory = $portal.getClass().forName('com.liferay.portal.kernel.log.LogFactoryUtil')) #set ($log = $logFactory.getLog('myTemplate')) $log.info('Here we go again')
A simple example for writing log entries from Liferay velocity templates
#set ($logFactory = $portal.getClass().forName('com.liferay.portal.kernel.log.LogFactoryUtil')) #set ($log = $logFactory.getLog('myTemplate')) $log.info('Here we go again')