Show / Hide Table of Contents

Class LogInfo

Inheritance
object
LogInfo
Implements
ILogInfo
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.Log.EventLog
Assembly: DotNetNuke.dll
Syntax
public class LogInfo : ILogInfo

Constructors

LogInfo()

Declaration
public LogInfo()

LogInfo(string)

Declaration
public LogInfo(string content)
Parameters
Type Name Description
string content

Properties

BypassBuffering

Declaration
public bool BypassBuffering { get; set; }
Property Value
Type Description
bool

Exception

Declaration
public ExceptionInfo Exception { get; set; }
Property Value
Type Description
ExceptionInfo

LogConfigID

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use 'DotNetNuke.Abstractions.Logging.ILogInfo.LogConfigId' instead. Scheduled removal in v11.0.0.")]
public string LogConfigID { get; set; }
Property Value
Type Description
string

LogCreateDate

Declaration
public DateTime LogCreateDate { get; set; }
Property Value
Type Description
DateTime

LogCreateDateNum

Declaration
public long LogCreateDateNum { get; set; }
Property Value
Type Description
long

LogEventID

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use 'DotNetNuke.Abstractions.Logging.ILogInfo.LogEventId' instead. Scheduled removal in v11.0.0.")]
public int LogEventID { get; set; }
Property Value
Type Description
int

LogFileID

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use 'DotNetNuke.Abstractions.Logging.ILogInfo.LogFileId' instead. Scheduled removal in v11.0.0.")]
public string LogFileID { get; set; }
Property Value
Type Description
string

LogGUID

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use 'DotNetNuke.Abstractions.Logging.ILogInfo.LogGuid' instead. Scheduled removal in v11.0.0.")]
public string LogGUID { get; set; }
Property Value
Type Description
string

LogPortalID

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use 'DotNetNuke.Abstractions.Logging.ILogInfo.LogPortalId' instead. Scheduled removal in v11.0.0.")]
public int LogPortalID { get; set; }
Property Value
Type Description
int

LogPortalName

Declaration
public string LogPortalName { get; set; }
Property Value
Type Description
string

LogProperties

Declaration
public LogProperties LogProperties { get; set; }
Property Value
Type Description
LogProperties

LogServerName

Declaration
public string LogServerName { get; set; }
Property Value
Type Description
string

LogTypeKey

Declaration
public string LogTypeKey { get; set; }
Property Value
Type Description
string

LogUserID

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use 'DotNetNuke.Abstractions.Logging.ILogInfo.LogUserId' instead. Scheduled removal in v11.0.0.")]
public int LogUserID { get; set; }
Property Value
Type Description
int

LogUserName

Declaration
public string LogUserName { get; set; }
Property Value
Type Description
string

Methods

AddProperty(string, string)

Declaration
public void AddProperty(string propertyName, string propertyValue)
Parameters
Type Name Description
string propertyName
string propertyValue

Deserialize(string)

Declaration
public void Deserialize(string content)
Parameters
Type Name Description
string content

IsSystemType(string)

Declaration
public static bool IsSystemType(string propName)
Parameters
Type Name Description
string propName
Returns
Type Description
bool

ReadXml(XmlReader)

Declaration
public void ReadXml(XmlReader reader)
Parameters
Type Name Description
XmlReader reader

Serialize()

Declaration
public string Serialize()
Returns
Type Description
string

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

WriteXml(XmlWriter)

Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type Name Description
XmlWriter writer

Implements

ILogInfo

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS