Ranorex 5.0.1.17706
Windows 7 x64
I have both LogText() and LogData() methods included in my class, but it seems that LogData is never called.
public void LogData(Ranorex.ReportLevel level, string category, string message, object data, System.Collections.Generic.IDictionary<string, string> metaInfos)I've set breakpoints inside this method and they are never hit.
In my program.cs, I believe I've attached my logger class correctly:
DatabaseLogger databaseLogger = new DatabaseLogger(); Report.Setup( ReportLevel.Debug, "report.rxlog", logToConsole: true ); Report.AttachLogger(databaseLogger);Because LogText is consistently working.
My second issue is that I notice the console log is recording more information than my custom logging class. Even when I set my logging level to Info, there are far less calls to LogText than there are lines of information in the console. How can I receive all those notifications so they can be logged to the database?
Thanks,
Robert