- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# PacketFileLogger Class Reference
[PacketLogger]

Packetlogger that outputs to a file. More...

`#include <PacketFileLogger.h>`

Inheritance diagram for PacketFileLogger:

List of all members.

## Public Member Functions
virtual void | OnAttach (RakPeerInterface *peer)
virtual void | WriteLog (const char *str)
| Override this to log strings to wherever. Log should be threadsafe.
## Protected Attributes
FILE * | packetLogFile

## Detailed Description

Packetlogger that outputs to a file.

## Member Function Documentation

void PacketFileLogger::OnAttach | ( | RakPeerInterface * | peer | ) | `[virtual]`

  | Called when the interface is attached Parameters:
  `[in]` | peer | the instance of RakPeer that is calling Receive
Reimplemented from PacketLogger.

The documentation for this class was generated from the following files:

- C:/RakNet 2.518/Include/PacketFileLogger.h
- C:/RakNet 2.518/Source/PacketFileLogger.cpp