Class ConsoleLogger
The standard Ranorex console logger.
public class ConsoleLogger : IReportLogger
- Inheritance
-
ConsoleLogger
- Implements
- Inherited Members
Constructors
ConsoleLogger()
public ConsoleLogger()
Properties
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.
public bool PreFilterMessages { get; }
Property Value
Methods
End()
Ends logging. Should free all resources.
public void End()
LogData(ReportLevel, string, string, object, IDictionary<string, string>)
Logs a data message.
public void LogData(ReportLevel level, string category, string message, object data, IDictionary<string, string> metaInfos)
Parameters
levelReportLevelThe message level.
categorystringThe category name.
messagestringAn optional message for the data.
dataobjectThe message data object.
metaInfosIDictionary<string, string>Advanced reference information for use in the report.
LogText(ReportLevel, string, string, bool, IDictionary<string, string>)
Logs a text message.
public void LogText(ReportLevel level, string category, string message, bool escape, IDictionary<string, string> metaInfos)
Parameters
levelReportLevelThe message level.
categorystringThe category name.
messagestringThe message text.
escapeboolText escaping flag.
metaInfosIDictionary<string, string>Advanced reference information for use in the report.
Start()
Starts the logger.
public void Start()