By writing the string-formatted log entry to the underlying XML file, this inversion control method handles the request to persist a formatted log entry to the media.

Name Description
OnAddFormattedEntry(FormattedLogEntryPersistenceContext<TFormattedLogEntry>) Handles the request to persist a formatted log entry to the underlying channel or media. (inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
OnAddFormattedEntry(FormattedLogEntryPersistenceContext<XElement>) By writing the string-formatted log entry to the underlying XML file, this inversion control method handles the request to persist a formatted log entry to the media.