public LogItem(LogItemType logType, string category, string summary, Exception exception)
{
Debug.Assert(!String.IsNullOrEmpty(summary));
Debug.Assert(!String.IsNullOrEmpty(category));
// Set the basic information
m_logType = logType;
m_message = !String.IsNullOrEmpty(summary) ? summary : String.Empty;
m_category = !String.IsNullOrEmpty(category) ? category : String.Empty;
m_exceptionInfo = CreateExceptionInfo(exception);
}