Logger The Sugar Logger allows developers and system administrators to log system events and debugging information into a log file. The Sugar code contains log statements at various points which are triggered based on the logging level. For example, to write a message to the sugarcrm.log file when the log level is set to ‘fatal’, put the following into your code: $GLOBALS['log']->fatal('my fatal message');
Copyright 2004-2008 SugarCRM Inc. Product License