C# Class TrakHound.Logging.Logger

Exibir arquivo Open project: TrakHound/TrakHound-Community

Public Properties

Property Type Description
OutputLogPath string

Public Methods

Method Description
Log ( string text, LogLineType type = LogLineType.Notification, [ filename = "", [ member = "", [ lineNumber ) : void

Add line to Log

ReadOutputLogText ( string applicationName, System.DateTime timestamp ) : string
ReadOutputLogXml ( LogLineType type, string applicationName, System.DateTime timestamp ) : System.Xml.XmlNode[]

Private Methods

Method Description
FormatDate ( System.DateTime date ) : string
ReadOutputLogText ( LogLineType type, string applicationName, System.DateTime timestamp ) : string

Method Details

Log() public static method

Add line to Log
public static Log ( string text, LogLineType type = LogLineType.Notification, [ filename = "", [ member = "", [ lineNumber ) : void
text string
type LogLineType
filename [
member [
lineNumber [
return void

ReadOutputLogText() public static method

public static ReadOutputLogText ( string applicationName, System.DateTime timestamp ) : string
applicationName string
timestamp System.DateTime
return string

ReadOutputLogXml() public static method

public static ReadOutputLogXml ( LogLineType type, string applicationName, System.DateTime timestamp ) : System.Xml.XmlNode[]
type LogLineType
applicationName string
timestamp System.DateTime
return System.Xml.XmlNode[]

Property Details

OutputLogPath public_oe static_oe property

public static string OutputLogPath
return string