00001 00002 00003 00004 00005 00006 00007 00008 #include "NativeFeatureIncludes.h" 00009 #if _RAKNET_SUPPORT_PacketLogger==1 00010 00011 #ifndef __PACKET_FILE_LOGGER_H_ 00012 #define __PACKET_FILE_LOGGER_H_ 00013 00014 #include "PacketLogger.h" 00015 #include <stdio.h> 00016 00019 class RAK_DLL_EXPORT PacketFileLogger : public PacketLogger 00020 { 00021 public: 00022 PacketFileLogger(); 00023 virtual ~PacketFileLogger(); 00024 void StartLog(const char *filenamePrefix); 00025 virtual void WriteLog(const char *str); 00026 protected: 00027 FILE *packetLogFile; 00028 }; 00029 00030 #endif 00031 00032 #endif // _RAKNET_SUPPORT_*