LogEntry.LogEntry
LogEntry()
Initialize a new instance of a LogEntry
class.
public LogEntry()
See Also
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
LogEntry(string)
Initialize a new instance of a LogEntry
class.
public LogEntry(string message)
Parameter | Type | Description |
---|---|---|
message | String | The message. |
See Also
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
LogEntry(string, DateTime)
Initialize a new instance of a LogEntry
class.
public LogEntry(string message, DateTime time)
Parameter | Type | Description |
---|---|---|
message | String | The message. |
time | DateTime | The time. |
See Also
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
LogEntry(string, Exception)
Initialize a new instance of a LogEntry
class.
public LogEntry(string message, Exception innerException)
Parameter | Type | Description |
---|---|---|
message | String | Message body to log. Value from ToString() method from message object. |
innerException | Exception | The inner exception to log. |
See Also
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
LogEntry(string, LogLevel)
Initialize a new instance of a LogEntry
class.
public LogEntry(string message, LogLevel severity)
Parameter | Type | Description |
---|---|---|
message | String | Message body to log. Value from ToString() method from message object. |
severity | LogLevel | Log entry severity as a Severity enumeration. (Unspecified, Information, Warning or Error). |
See Also
- class LogLevel
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
LogEntry(string, Exception, LogLevel)
Initialize a new instance of a LogEntry
class.
public LogEntry(string message, Exception innerException, LogLevel severity)
Parameter | Type | Description |
---|---|---|
message | String | Message body to log. Value from ToString() method from message object. |
innerException | Exception | The inner exception to log. |
severity | LogLevel | Log entry severity as a Severity enumeration. (Unspecified, Information, Warning or Error). |
See Also
- class LogLevel
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
LogEntry(string, IDictionary<string, string>)
Create a new instance of LogEntry
with a full set of constructor parameters
public LogEntry(string message, IDictionary<string, string> properties)
Parameter | Type | Description |
---|---|---|
message | String | Message body to log. Value from ToString() method from message object. |
properties | IDictionary`2 | Dictionary of key/value pairs to record. |
See Also
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
LogEntry(byte[])
Create a new instance of LogEntry
with a full set of constructor parameters
public LogEntry(byte[] binaryDataMessage)
Parameter | Type | Description |
---|---|---|
binaryDataMessage | Byte[] | Binary message body to log. |
See Also
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
LogEntry(byte[], Encoding)
Create a new instance of LogEntry
with a full set of constructor parameters
public LogEntry(byte[] binaryDataMessage, Encoding messageEncoding)
Parameter | Type | Description |
---|---|---|
binaryDataMessage | Byte[] | Binary message body to log. |
messageEncoding | Encoding | Encoding for binary message |
See Also
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
LogEntry(byte[], IDictionary<string, string>)
Create a new instance of LogEntry
with a full set of constructor parameters
public LogEntry(byte[] binaryDataMessage, IDictionary<string, string> properties)
Parameter | Type | Description |
---|---|---|
binaryDataMessage | Byte[] | Binary message body to log. |
properties | IDictionary`2 | Dictionary of key/value pairs to record. |
See Also
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
LogEntry(byte[], Encoding, IDictionary<string, string>)
Create a new instance of LogEntry
with a full set of constructor parameters
public LogEntry(byte[] binaryDataMessage, Encoding messageEncoding,
IDictionary<string, string> properties)
Parameter | Type | Description |
---|---|---|
binaryDataMessage | Byte[] | Binary message body to log. |
messageEncoding | Encoding | Encoding for binary message |
properties | IDictionary`2 | Dictionary of key/value pairs to record. |
See Also
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
LogEntry(string, LogLevel, string, int, string, IDictionary<string, string>)
Create a new instance of LogEntry
with a full set of constructor parameters
public LogEntry(string message, LogLevel severity, string category, int eventId, string title,
IDictionary<string, string> properties)
Parameter | Type | Description |
---|---|---|
message | String | Message body to log. Value from ToString() method from message object. |
severity | LogLevel | Log entry severity as a Severity enumeration. (Unspecified, Information, Warning or Error). |
category | String | Category name used to route the log entry to a one or more sinks. |
eventId | Int32 | Event number or identifier. |
title | String | Additional description of the log entry message. |
properties | IDictionary`2 | Dictionary of key/value pairs to record. |
See Also
- class LogLevel
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
LogEntry(string, Exception, LogLevel, string, int, string, IDictionary<string, string>)
Create a new instance of LogEntry
with a full set of constructor parameters
public LogEntry(string message, Exception innerException, LogLevel severity, string category,
int eventId, string title, IDictionary<string, string> properties)
Parameter | Type | Description |
---|---|---|
message | String | Message body to log. Value from ToString() method from message object. |
innerException | Exception | The inner exception to log. |
severity | LogLevel | Log entry severity as a Severity enumeration. (Unspecified, Information, Warning or Error). |
category | String | Category name used to route the log entry to a one or more sinks. |
eventId | Int32 | Event number or identifier. |
title | String | Additional description of the log entry message. |
properties | IDictionary`2 | Dictionary of key/value pairs to record. |
See Also
- class LogLevel
- class LogEntry
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email