logger.hpp
Go to the documentation of this file.00001 #ifndef MSUCLE_LOGGER_HPP 00002 #define MSUCLE_LOGGER_HPP 00003 00004 #include <stdarg.h> 00005 #include "muscle_types.h" 00006 00007 namespace muscle { 00008 class logger 00009 { 00010 public: 00011 static void log_message(muscle_loglevel_t level, const char *message, ...); 00012 00013 static void severe(const char *message, ...); 00014 static void warning(const char *message, ...); 00015 static void info(const char *message, ...); 00016 static void config(const char *message, ...); 00017 static void fine(const char *message, ...); 00018 static void finer(const char *message, ...); 00019 static void finest(const char *message, ...); 00020 static void setName(const char *_name); 00021 private: 00022 static void format(const muscle_loglevel_t level, const char *message, va_list *args); 00023 }; 00024 00025 } // EO namespace muscle 00026 #endif 00027
Generated on Thu Oct 18 14:28:28 2012 for Muscle C/C++ API by
![doxygen](doxygen.png)