Commerce Foundation CommerceLogEntry

A Commerce Server 2009 R2 CommerceLogEntry entity is used to log messages.

Model

This commerce entity can be modified, as required. This model, taken from the out-of-the-box site, is provided as an example.

<!-- CommerceLogEntry Start -->
   <CommerceEntity name="CommerceLogEntry">
      <DisplayName value="Commerce Log Entry" />
      <Authorization>
         <Operation name="Create" >
           <Claimset name="Everyone"/>
         </Operation>
      </Authorization>
      <Properties>
         <Property name="Id" dataType="String" />
         <Property name="Severity" dataType="String" />
         <Property name="Message"  dataType="String" />
         <Property name="TraceLayer"     dataType="String" />
      </Properties>        
   </CommerceEntity>
<!-- CommerceLogEntry End -->

Properties

Property

Type

Description

Message

String

A message that describes the error, warning or provides information.

Severity

String

Describes the type of log entry. Values are limited to the following: Error, Warning or Information.

TraceLayer

String

Specifies the trace layer.

Supported Operations

The following operation is supported for this entity:

Commerce Foundation CommerceLogEntry CommerceCreate

See Also

Other Resources

Developing with the Multi-Channel Commerce Foundation