I want to write a general method that will add entries to a log file.
My problem is that i don't know how to pass all the arguments from logEvent() method to CString::Format()

void CXServerLogFile::logEvent( UINT resID, char *first, ... )
{
CString strEvent;
strEvent.Format( resID, .... ); // what do i put here?
strEvent += "\n";
writeEvent( strEvent );
}