Articles on: Developer

How to debug while developing

Internal Logging

Clientexec has a built in log system that can be very useful while developing custom modules and snapins. You will need to edit config.php and enable logging:

define('LOG_LEVEL', 4);
define('LOG_TEXTFILE', '/home/user/logs/ce.log');

Now that you have enabled logging at level 4, anytime you call our log function at level 4, the output will be sent to ce.log.

CE_Lib::log(4, "Log Entry");

Updated on: 24/02/2023

Was this article helpful?

Share your feedback


Thank you!