/// <summary> /// Initializes a new instance of the <see cref="LoggingEvent" /> class /// using specific data. /// </summary> /// <param name="data">Data used to initialise the logging event.</param> /// <remarks> /// <para> /// This constructor is provided to allow a <see cref="LoggingEvent" /> /// to be created independently of the log4net framework. This can /// be useful if you require a custom serialization scheme. /// </para> /// <para> /// Use the <see cref="GetLoggingEventData"/> method to obtain an /// instance of the <see cref="LoggingEventData"/> class.</para> /// </remarks> public LoggingEvent(LoggingEventData data) { m_data = data; }