/// <summary>
        /// Formats and adds the parameter to the <see cref="PutItemRequest"/>.
        /// </summary>
        /// <param name="request">The request.</param>
        /// <param name="loggingEvent">The logging event.</param>
        /// <returns>Chainable reference to the original request.</returns>
        public virtual PutItemRequest AddFormatParameter(PutItemRequest request, LoggingEvent loggingEvent)
        {
            request.CheckNull("request");
            loggingEvent.CheckNull("loggingEvent");

            object formattedValue = Layout.Format(loggingEvent);
            return AddToItemsIfNotNullOrEmpty(request, formattedValue);
        }