Click or drag to resize
Ranorex

ReportLevel Structure

Defines (importance-) levels used for logging individual messages.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(ReportLevelReportLevelConverter))]
public struct ReportLevel : IComparable, 
	IComparable<ReportLevel>, IEquatable<ReportLevel>, IFormattable

The ReportLevel type exposes the following members.

Constructors
  NameDescription
Public methodReportLevel
Constructs a new report level.
Top
Properties
  NameDescription
Public propertyCustomStyle
Gets the custom CSS style of the report level. Is set to null if the default specified by the Ranorex stylesheet is to be used.
Public propertyLevel
Gets the actual level value used to compare this instance to other instances.
Public propertyName
Gets the name of this level.
Public propertyStatic memberStandardErrorValues
Gets an array of the standard warning/error report levels.
Public propertyStatic memberStandardValues
Gets an array of the standard report levels.
Top
Methods
  NameDescription
Public methodCompareTo(Object)
Compares the current instance with another object of the same type.
Public methodCompareTo(ReportLevel)
Compares the current instance with another report level.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(ReportLevel)
Indicates whether the current object is equal to another 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
Computes a hash for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsStandardValue
Determines whether the specified report level is a standard report level.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse
Parses reportLevelString and returns a new ReportLevel instance.
Public methodToString
Returns a string represenation of this instance.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Returns a string represenation of this instance.
Public methodToString(String)
Returns a string represenation of this instance.
Public methodToString(String, IFormatProvider)
Returns a string represenation of this instance.
Public methodStatic memberTryParse
Tries parsing reportLevelString to a ReportLevel instance.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberGreaterThan
Implements the operator >.
Public operatorStatic memberGreaterThanOrEqual
Implements the operator >=.
Public operatorStatic memberInequality
Implements the operator !=.
Public operatorStatic memberLessThan
Implements the operator <.
Public operatorStatic memberLessThanOrEqual
Implements the operator <=.
Top
Fields
  NameDescription
Public fieldStatic memberAlways
Indicates that report messages with this level will always be logged regardless of the level set to MinimumReportLevel.
Public fieldStatic memberDebug
Indicates a debug/trace message, typically used during development.
Public fieldStatic memberError
Indicates an error, usually of severe nature.
Public fieldStatic memberFailure
Indicates the failed execution of a test step.
Public fieldStatic memberInfo
Indicates a general informational message.
Public fieldStatic memberInherit
Indicates that the log level for a TestCaseNode should be inherited from its parent. Use this level only for setting the ReportLevel property.
Public fieldStatic memberNone Obsolete.
If set to MinimumReportLevel, indicates to log no report messages at all but such with report level Always.
Public fieldStatic memberSuccess
Indicates the successful execution of a test step.
Public fieldStatic memberWarn
Indicates a warning, e.g. an usual event or a recoverable error.
Top
See Also