Logs messages to a file.
You can log all atom actions within wordpress by simply calling this function
<?php log_app( $label, $msg) ?>
Assuming we're within one the wp-app.php
// This would log that the function get_service was called function get_service() { log_app('function','get_service()'); }
In order for logging to work, you will need to edit wp_app.php and modify the global variable app_logging line 32 from:
/** * Whether to enable Atom Publishing Protocol Logging. * * @name app_logging * @var int|bool */ $app_logging = 0;
to:
/** * Whether to enable Atom Publishing Protocol Logging. * * @name app_logging * @var int|bool */ $app_logging = 1;
log_app() is located in wp-app.php
.