• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 27, 2024, 05:25:25 am

News:

SMF - Just Installed!


Debug Output Questions ...

Started by moelski, July 23, 2010, 09:27:44 am

Previous topic - Next topic

moelski

Hi !

I just have done some tests with a HID device. And in the Delphi IDE I can see some debug messages like:
QuoteDebug-Ausgabe: [23.07.2010 14:22:37] nrHID: SetOutputReport: 0 Datenfehler (CRC-Prüfung) 17 Prozess hiddemo.exe (5760)
Debug-Ausgabe: [23.07.2010 14:24:12] nrHID: SetOutputReport: 0 Ein an das System angeschlossenes Gerät funktioniert nicht 1F Prozess hiddemo.exe (5760)

Sorry it´s german ... But I think you should know these Messages.
The first one is a CRC error and the second one is "The device won´t work correct ..."

Theses messages are not logged with nrLog. Is there any chance to get these messages, too?

And the second problem ...
We use SmartInspect for logging. And TnrLogFile has only two events : OnFatalError and OnReachLimit.

But how is it possible to catch the message in order to post it to our own logging system?

Could you imagine to implement an event like "OnLogEntry" ?

Roman Novgorodov

Hello

Thank you for your information.
We will try to include new event into next release.

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

moelski

Hi Roman,

and what about the debug messages?
Could you implement something to make them available, too?

Greetz Dominik

Roman Novgorodov

Hello

Please try to set TnrLogFile.DetailLevel property in dlDebug

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

moelski

Hi Roman,

We will try to include new event into next release.

Is it included in 9.09 ?

Roman Novgorodov

Hello

I'm sorry.
The new event will be added into v9.10.

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

moelski

Hi Roman,

Quote5) New. LOG. New event OnLogEntry()

Thx alot  :)

will try it this evening.