Next: , Previous: Manipulating the Sieve Machine, Up: libsieve



3.4.3 Logging and Diagnostic Functions

— Function: void sieve_error (sieve_machine_t mach, const char *fmt, ...)

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

— Function: void sieve_debug (sieve_machine_t mach, const char *fmt, ...)

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

— Function: void sieve_log_action (sieve_machine_t mach, const char *action, const char *fmt, ...)

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

— Function: void sieve_abort (sieve_machine_t mach)

Immediately abort the execution of the script.