![]() |
TrinityCore
|
#include <PacketLog.h>
Public Member Functions | |
| PacketLog (PacketLog const &)=delete | |
| PacketLog (PacketLog &&)=delete | |
| PacketLog & | operator= (PacketLog const &)=delete |
| PacketLog & | operator= (PacketLog &&)=delete |
| void | Initialize () |
| bool | CanLogPacket () const |
| void | LogPacket (WorldPacket const &packet, Direction direction, boost::asio::ip::address const &addr, uint16 port, ConnectionType connectionType) |
Static Public Member Functions | |
| static PacketLog * | instance () |
Private Member Functions | |
| PacketLog () | |
| ~PacketLog () | |
Private Attributes | |
| std::mutex | _logPacketLock |
| std::once_flag | _initializeFlag |
| FILE * | _file |
Definition at line 44 of file PacketLog.h.
|
private |
|
private |
Definition at line 67 of file PacketLog.cpp.
|
delete |
|
delete |
|
inline |
| void PacketLog::Initialize | ( | ) |
Definition at line 81 of file PacketLog.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 75 of file PacketLog.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void PacketLog::LogPacket | ( | WorldPacket const & | packet, |
| Direction | direction, | ||
| boost::asio::ip::address const & | addr, | ||
| uint16 | port, | ||
| ConnectionType | connectionType | ||
| ) |
|
private |
Definition at line 65 of file PacketLog.h.
|
private |
Definition at line 50 of file PacketLog.h.
|
private |
Definition at line 49 of file PacketLog.h.