summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-14 00:53:22 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-14 00:53:22 +0000
commit812103cea68f1da2004dd518c5ad3b448a0e1729 (patch)
treeb4bc86a077385a219474bcb5bca727e0703ed52b /src/log.h
parent3628aae5ef1be719603d4aa8e1b209cf5e04520c (diff)
downloadmana-client-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.gz
mana-client-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.bz2
mana-client-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.xz
mana-client-812103cea68f1da2004dd518c5ad3b448a0e1729.zip
Simplified logging for the sake of simplicity.
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/log.h b/src/log.h
index 9d9cfb72..e85ddd6b 100644
--- a/src/log.h
+++ b/src/log.h
@@ -34,15 +34,9 @@
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