RanorexRanorex Documentation
XmlLogger Class
NamespacesRanorex.CoreXmlLogger
The standard Ranorex XML-logger.
Declaration Syntax
C#Visual BasicVisual C++
public class XmlLogger : IReportLogger
Public Class XmlLogger _
	Implements IReportLogger
public ref class XmlLogger : IReportLogger
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
XmlLogger()()()
Initializes a new instance of the XmlLogger class.

AppendExisting
Gets or sets a value indicating whether log entries should be appended to an already existing logfile, or if it should be overwritten.

DefaultLogFileName
Gets the default name of the XML log file.

End()()()
Ends logging. Should free all resources.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
LogData(ReportLevel, String, String, Object, IDictionary<(Of <(String, String>)>))
Logs a data message.

LogFileName
Gets or sets the log file name.

LogText(ReportLevel, String, String, Boolean, IDictionary<(Of <(String, String>)>))
Logs a text message.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
PreFilterMessages
Determines whether the logger is called for all log message or only for messages whose report level is greater or equal than the currently set report level.

RanorexReportXsl
The stylesheet used for formatting XML log files. For internal use only.

ReportStylesheetUrl
Gets or sets the URL to the XSL stylesheet used for rendering the XML report; you can use an XSL stylesheet stored on a network share (file://pathToFile) or in the intranet/Internet (http://pathToStylesheet).

SetReportStylesheet(String)
Sets the report XSL file content. Can be used to generate report files with custom formatting.

SetReportStylesheetFile(String)
Sets the name of the file to load the XSL content from. Can be used to generate report files with custom formatting.

Start()()()
Starts the logger.

Title
Gets or sets the title to use for the XML report file.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
XmlLogger

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)