logog
logger optimized for games
Adding new logging output targets

To add a new type of logging output, such as a network socket or a printer, create a subclass of the Target class, and implement your own Output() function that renders the information to your output device.

int Cout::Output( const LOGOG_STRING &data )
{
LOGOG_COUT << (const LOGOG_CHAR *)data;
return 0;
}

Then, instance your new class after your call to LOGOG_INITIALIZE() but before messages are invoked.