Constructor signature:
LogEntry( int level, LogSource src, const char *format, ... );
Example call:
Log::LogEntry entry(LOG_NOTICE,Log::LogSource::NETWORK,"%s, %d","tests",i);
This fills in a private member: std::stringstream message using vsnprintf()
I'd like to have a constructor like something like this:
LogEntry( int level, LogSource src, std::stringstream &pattern ) that
would allow this type of call:
Log::LogEntry entry(LOG_NOTICE,Log::LogSource::NETWORK," << "Test " << i);
i know that is "wrong" syntax but is it possible to create such a constructor that