3.4.3 Logging and Diagnostic Functions

Function: void mu_sieve_error (mu_sieve_machine_t mach, const char *fmt, …)

Format and output an error message using error printer of the machine mach.

Function: void mu_sieve_debug (mu_sieve_machine_t mach, const char *fmt, …)

Format and output a debug message using debug printer of the machine mach.

Function: void mu_sieve_log_action (mu_sieve_machine_t mach, const char *action, const char *fmt, …)

Log a sieve action using logger function associated with the machine mach.

Function: void mu_sieve_abort (mu_sieve_machine_t mach)

Immediately abort the execution of the script.