00001 /* 00002 * $Id: Log.h,v 1.1 2003/07/23 22:29:19 mindstorm2600 Exp $ 00003 */ 00004 #ifndef __CLAW_Log_H__ 00005 #define __CLAW_Log_H__ 00006 00007 #include<System.h> 00008 #include<BaseFile.h> 00009 #include<Mutex.h> 00010 00011 namespace clawsoft{ 00018 class Log:public System{ 00019 private: 00020 Mutex mutex; 00021 BaseFile *f; 00022 protected: 00023 void open(); 00024 void close(); 00025 public: 00026 Log(const String &fname); 00027 ~Log(); 00028 void log(const char *s); 00029 void log(const String &s); 00030 void logf(const char *fmt, ...); 00031 void logf(const String &s, ...); 00032 00033 }; 00034 }; 00035 00036 #endif
Authors:
Juan V. Guerrero
Jannette C. Mejia
Juan C. Guevara
Powered by: