postie_log_error & postie_log_debug
These filters are called when Postie has some information about what is happening. postie_log_error is called if Postie encounters an error reported by WordPress. postie_log_debug is called throughout the Postie process when something of interest occurs.
add_action('postie_log_error', 'my_postie_log_error_action');
add_action('postie_log_debug', 'my_postie_log_debug_action');
function my_postie_log_error_action($message) {
//log the error somewhere
}
function my_postie_log_debug_action($message) {
//log the debug message somewhere
}