diff --git a/os/log.c b/os/log.c index ac547efed..8c61fa92e 100644 --- a/os/log.c +++ b/os/log.c @@ -310,24 +310,6 @@ LogClose(enum ExitCode error) } } -int -LogSetParameter(LogParameter param, int value) -{ - switch (param) { - case XLOG_SYNC: - xorgLogSync = value ? TRUE : FALSE; - return TRUE; - case XLOG_VERBOSITY: - xorgLogVerbosity = value; - return TRUE; - case XLOG_FILE_VERBOSITY: - xorgLogFileVerbosity = value; - return TRUE; - default: - return FALSE; - } -} - enum { LMOD_LONG = 0x1, LMOD_LONGLONG = 0x2, diff --git a/os/log_priv.h b/os/log_priv.h index e83ec6cee..660b121ef 100644 --- a/os/log_priv.h +++ b/os/log_priv.h @@ -40,25 +40,6 @@ void LogSetDisplay(void); */ void LogClose(enum ExitCode error); -/* @brief parameters for LogSetParameter() */ -typedef enum { - XLOG_SYNC, /* enable/disable fsync() after each log file write */ - XLOG_VERBOSITY, /* set console log verbosity */ - XLOG_FILE_VERBOSITY, /* set log file verbosity */ -} LogParameter; - -/** - * @brief set log file paremeters - * - * Set various (int) logging parameters, eg. verbosity. - * See XLOG_* defines - * - * @param ID of the parameter to set - * @param value the new value - * @result TRUE if successful - */ -int LogSetParameter(LogParameter param, int value); - #ifdef DEBUG /** * @brief log debug messages (like errors) if symbol DEBUG is defined