Login
Get Started

Easy Digital Downloads Documentation

Documentation, Reference Materials, and Tutorials for Easy Digital Downloads 

edd_debug_log

When debug mode is enabled (Downloads > Tools > Debug Log), specific information will be logged to a custom log file on your site. Developers can make use of this to help troubleshoot issues and results at specific points in their code.

edd_debug_log( $message = '', $force = false );
  • $message: This must be a string, and it’s exactly what will show in the log file.
  • $force: Use the function with this parameter set to true to force your message to be added to the log file, even if debug mode is not enabled. Use this only for critical messages and warnings.
Was this article helpful?
[sp_template_part id="1831271"]

Copyright © 2025 Sandhills Development, LLC