From 812103cea68f1da2004dd518c5ad3b448a0e1729 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 14 Feb 2005 00:53:22 +0000 Subject: Simplified logging for the sake of simplicity. --- src/log.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'src/log.h') diff --git a/src/log.h b/src/log.h index 9d9cfb72..e85ddd6b 100644 --- a/src/log.h +++ b/src/log.h @@ -33,16 +33,10 @@ */ void init_log(); -/** - * Enters a message in the log with a certain category. The message will be - * timestamped. - */ -void log(const char *category, const char *log_text, ...); - /** * Enters a message in the log. The message will be timestamped. */ -void log(const std::string &text); +void log(const char *log_text, ...); /** * Log an error and quit. The error will pop-up in Windows and will be printed @@ -50,14 +44,4 @@ void log(const std::string &text); */ void error(const std::string &error_text); -/** - * Shortcut to log a warning. - */ -void warning(const char *warning_text); - -/** - * Shortcut to log a status update. - */ -void status(const char *status_text); - #endif -- cgit v1.2.3-70-g09d2