Skip to content
Snippets Groups Projects
Commit 162ce2cb authored by Stephan Bosch's avatar Stephan Bosch
Browse files

lib-sieve: sieve-script - Drop sieve_script_sys_*() log functions.

parent fa020da2
No related branches found
No related tags found
No related merge requests found
......@@ -90,15 +90,6 @@ void sieve_script_set_internal_error(struct sieve_script *script);
void sieve_script_set_critical(struct sieve_script *script,
const char *fmt, ...) ATTR_FORMAT(2, 3);
void sieve_script_sys_error(struct sieve_script *script, const char *fmt, ...)
ATTR_FORMAT(2, 3);
void sieve_script_sys_warning(struct sieve_script *script, const char *fmt, ...)
ATTR_FORMAT(2, 3);
void sieve_script_sys_info(struct sieve_script *script, const char *fmt, ...)
ATTR_FORMAT(2, 3);
void sieve_script_sys_debug(struct sieve_script *script, const char *fmt, ...)
ATTR_FORMAT(2, 3);
/*
* Script sequence
*/
......
......@@ -781,50 +781,6 @@ const char *sieve_script_get_last_error_lcase(struct sieve_script *script)
return errormsg;
}
void sieve_script_sys_error(struct sieve_script *script, const char *fmt, ...)
{
struct sieve_instance *svinst = script->storage->svinst;
va_list va;
va_start(va, fmt);
e_error(svinst->event, "%s script: %s",
script->driver_name, t_strdup_vprintf(fmt, va));
va_end(va);
}
void sieve_script_sys_warning(struct sieve_script *script, const char *fmt, ...)
{
struct sieve_instance *svinst = script->storage->svinst;
va_list va;
va_start(va, fmt);
e_warning(svinst->event, "%s script: %s",
script->driver_name, t_strdup_vprintf(fmt, va));
va_end(va);
}
void sieve_script_sys_info(struct sieve_script *script, const char *fmt, ...)
{
struct sieve_instance *svinst = script->storage->svinst;
va_list va;
va_start(va, fmt);
e_info(svinst->event, "%s script: %s",
script->driver_name, t_strdup_vprintf(fmt, va));
va_end(va);
}
void sieve_script_sys_debug(struct sieve_script *script, const char *fmt, ...)
{
struct sieve_instance *svinst = script->storage->svinst;
va_list va;
va_start(va, fmt);
e_debug(svinst->event, "%s script: %s",
script->driver_name, t_strdup_vprintf(fmt, va));
va_end(va);
}
/*
* Script sequence
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.