diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-14 00:53:22 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-14 00:53:22 +0000 |
commit | 812103cea68f1da2004dd518c5ad3b448a0e1729 (patch) | |
tree | b4bc86a077385a219474bcb5bca727e0703ed52b /src/log.h | |
parent | 3628aae5ef1be719603d4aa8e1b209cf5e04520c (diff) | |
download | mana-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.gz mana-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.bz2 mana-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.xz mana-812103cea68f1da2004dd518c5ad3b448a0e1729.zip |
Simplified logging for the sake of simplicity.
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 18 |
1 files changed, 1 insertions, 17 deletions
@@ -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 |