Click or drag to resize
Ranorex

XmlLogger Class

The standard Ranorex XML-logger for 2.X projects.
Inheritance Hierarchy
SystemObject
  Ranorex.CoreXmlLogger

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public class XmlLogger : IReportLogger

The XmlLogger type exposes the following members.

Constructors
  NameDescription
Public methodXmlLogger
Initializes a new instance of the XmlLogger class.
Top
Properties
  NameDescription
Public propertyStatic memberAppendExisting
Gets or sets a value indicating whether log entries should be appended to an already existing logfile, or if it should be overwritten.
Public propertyStatic memberDefaultLogFileName
Gets the default name of the XML log file.
Public propertyStatic memberLogFileName
Gets or sets the log file name.
Public propertyPreFilterMessages
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.
Public propertyStatic memberRanorexReportXsl
The stylesheet used for formatting XML log files. For internal use only.
Public propertyStatic memberReportStylesheetUrl
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).
Public propertyStatic memberTitle
Gets or sets the title to use for the XML report file.
Top
Methods
  NameDescription
Public methodEnd
Ends logging. Should free all resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLogData
Logs a data message.
Public methodLogText
Logs a text message.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSetReportStylesheet
Sets the report XSL file content. Can be used to generate report files with custom formatting.
Public methodStatic memberSetReportStylesheetFile
Sets the name of the file to load the XSL content from. Can be used to generate report files with custom formatting.
Public methodStart
Starts the logger.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also