]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - log.h
2003-02-16 Pavel Tsekov <ptsekov@gmx.net>
[cygwin-apps/setup.git] / log.h
diff --git a/log.h b/log.h
index 40c4b9d660104600b62291db2b485a35b4980d8e..365ed72853c78969d41063726529891af6541426 100644 (file)
--- a/log.h
+++ b/log.h
    until they're written out.  "babble" means the message is just idle
    babbling; it can be ignored for shorter logs. */
 
-#define LOG_BABBLE     1
-#define LOG_TIMESTAMP  2
+#include "LogSingleton.h"
+#undef log
 
-void log (int flags, char *fmt, ...);
-
-/* Here, "babble" means to write out the babble also.  If "append" is
-   nonzero, the log is appended to any existing file. */
-
-void log_save (int babble, char *filename, int append);
-
-/* This is the only legal way to exit.  It writes out all the logs and things */
-
-void exit_setup (int exit_code);
+void log (enum log_level level, const char *fmt, ...)
+  __attribute__ ((format (printf, 2, 3)));
+void log (enum log_level level, String const &);
This page took 0.022782 seconds and 5 git commands to generate.