A developer creates a custom logging library in CodeIgniter for enhanced application monitoring. The appropriate method to integrate this library into the application's workflow is ________.

  • Extend the CI_Log class
  • Manually include the library in controllers
  • Register the library in the autoload.php file
  • Use autoload configuration
To integrate a custom library in CodeIgniter, developers should extend the CI_Log class. This ensures that the custom library functions as part of the core logging functionality, allowing for enhanced application monitoring. Autoload configuration is used for loading libraries, but extending the CI_Log class is the appropriate method for custom logging functionality.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *