This is where the error and run logs are managed.
You can turn on error and run time logging for any object using : $objectname→setLogErrors(true);
To turn on error logging: $objectname→setLogRun(true);
To turn on run time logging, usually for debugging purposes.
To send an error to the error log use the following syntax: $objectname→setError(“Error message”);
The error message will be formatted with time stamp and referrer of the script that generated the error.
To send a message to the run time log : $objectname→setLog(“\n – message for the Radria run log”);
The run time log is written directly without any formatting. So you need to add line breaks and time stamps yourself. The setLog method accepts a second parameter, a boolean to enable/disable log writing.
As all objects extend BaseObject most of the time $objectname is the $this keyword. The error logs and run time logs are respectively stored in radria_error.log and radria_run.log