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.
- properties
Type: System.Collections.Generic.IDictionary<String, Object>
Dictionary of key/value pairs to log.