Logger.Write Method (Object, IDictionary<String, Object>)

Write a new log entry and a dictionary of extended properties.

Namespace: Microsoft.Practices.EnterpriseLibrary.Logging
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

public static void Write(
    Object message,
    IDictionary<string, Object> properties
)
'Declaration
Public Shared Sub Write ( 
    message As Object,
    properties As IDictionary(Of String, Object)
)
public:
static void Write(
    Object^ message, 
    IDictionary<String^, Object^>^ properties
)

Parameters

  • message
    Type: System.Object
    Message body to log. Value from ToString() method from message object.

See Also

Logger Class

Logger Members

Write Overload

Microsoft.Practices.EnterpriseLibrary.Logging Namespace