Class LogInfo
The log info.
Inheritance
System.Object
LogInfo
Implements
Namespace: DotNetNuke.Services.Log.EventLog
Assembly: DotNetNuke.dll
Syntax
public class LogInfo : object, ILogInfo
Constructors
| Improve this Doc View SourceLogInfo()
Initializes a new instance of the LogInfo class.
Declaration
public LogInfo()
LogInfo(String)
Initializes a new instance of the LogInfo class.
Declaration
public LogInfo(string content)
Parameters
Type | Name | Description |
---|---|---|
System.String | content |
Properties
| Improve this Doc View SourceBypassBuffering
The log info.
Declaration
public bool BypassBuffering { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Exception
The log info.
Declaration
public ExceptionInfo Exception { get; set; }
Property Value
Type | Description |
---|---|
ExceptionInfo |
LogConfigID
The log info.
Declaration
public string LogConfigID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogCreateDate
The log info.
Declaration
public DateTime LogCreateDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
LogCreateDateNum
The log info.
Declaration
public long LogCreateDateNum { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
LogEventID
The log info.
Declaration
public int LogEventID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LogFileID
The log info.
Declaration
public string LogFileID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogGUID
The log info.
Declaration
public string LogGUID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogPortalID
The log info.
Declaration
public int LogPortalID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LogPortalName
The log info.
Declaration
public string LogPortalName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogProperties
The log info.
Declaration
public LogProperties LogProperties { get; set; }
Property Value
Type | Description |
---|---|
LogProperties |
LogServerName
The log info.
Declaration
public string LogServerName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogTypeKey
The log info.
Declaration
public string LogTypeKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogUserID
The log info.
Declaration
public int LogUserID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LogUserName
The log info.
Declaration
public string LogUserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAddProperty(String, String)
The log info.
Declaration
public void AddProperty(string propertyName, string propertyValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | |
System.String | propertyValue |
Deserialize(String)
The log info.
Declaration
public void Deserialize(string content)
Parameters
Type | Name | Description |
---|---|---|
System.String | content |
IsSystemType(String)
The log info.
Declaration
public static bool IsSystemType(string propName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propName |
Returns
Type | Description |
---|---|
System.Boolean |
ReadXml(XmlReader)
The log info.
Declaration
public void ReadXml(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
XmlReader | reader |
Serialize()
The log info.
Declaration
public string Serialize()
Returns
Type | Description |
---|---|
System.String |
ToString()
The log info.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
WriteXml(XmlWriter)
The log info.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer |
Explicit Interface Implementations
| Improve this Doc View SourceILogInfo.Exception
Gets or sets the exception info.
Declaration
IExceptionInfo ILogInfo.Exception { get; set; }
Returns
Type | Description |
---|---|
IExceptionInfo |
ILogInfo.LogProperties
Gets or sets the log properties.
Declaration
ILogProperties ILogInfo.LogProperties { get; set; }
Returns
Type | Description |
---|---|
ILogProperties |