Interface ILogInfo
The log info.
Namespace: DotNetNuke.Abstractions.Logging
Assembly: DotNetNuke.Abstractions.dll
Syntax
public interface ILogInfo
Properties
| Improve this Doc View SourceBypassBuffering
Gets or sets a value indicating whether or not the log can bypass the buffer.
Declaration
bool BypassBuffering { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Exception
Gets or sets the exception info.
Declaration
IExceptionInfo Exception { get; set; }
Property Value
Type | Description |
---|---|
IExceptionInfo |
LogConfigId
Gets or sets the log config id.
Declaration
string LogConfigId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogCreateDate
Gets or sets the log create date.
Declaration
DateTime LogCreateDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
LogCreateDateNum
Gets or sets the log create date number.
Declaration
long LogCreateDateNum { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
LogEventId
Gets or sets the log event id.
Declaration
int LogEventId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LogFileId
Gets or sets the log file ID.
Declaration
string LogFileId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogGuid
Gets or sets the log GUID.
Declaration
string LogGuid { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogPortalId
Gets or sets the log portal id.
Declaration
int LogPortalId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LogPortalName
Gets or sets the log portal name.
Declaration
string LogPortalName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogProperties
Gets or sets the log properties.
Declaration
ILogProperties LogProperties { get; set; }
Property Value
Type | Description |
---|---|
ILogProperties |
LogServerName
Gets or sets the log server name.
Declaration
string LogServerName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogTypeKey
Gets or sets the log type key.
Declaration
string LogTypeKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogUserId
Gets or sets the log user id.
Declaration
int LogUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LogUserName
Gets or sets the log username.
Declaration
string LogUserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAddProperty(String, String)
Adds a property to the log.
Declaration
void AddProperty(string name, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The property name. |
System.String | value | The property value. |