The Log type exposes the following members.

Methods

  NameDescription
Dispose
Saves the log file, if not saved and cleans any resources associated with the log
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ErrorOverloaded.
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.)
ImageOverloaded.
IndentInOverloaded.
IndentOut
Close a floder
InfoOverloaded.
LinkOverloaded.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Result
Logs the result of a testcase

Remarks

This method should not be called outside of QAliber engine
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
WarningOverloaded.

Properties

  NameDescription
Default
The singleton access to the log
Enabled
Turns logging on and off If Enabled = false, all logging methods will be ignored
Filename
The filename of the log

Remarks

This property must be set prior to all logging Changing this property will cause all prior logging to be saved with the old filename, and all subsequent logging to be logged to the newly set filename
Path
The path of the log

Events

  NameDescription
BeforeErrorIsPosted
This event is fired before an error is posted to the log
BeforeWarningIsPosted
This event is fired before a warning is posted to the log

See Also