If you look in the method TWAIN::DatIdentity, you will find that if you are using callbacks that the logging uses the same message passed in instead of using MSG.REGISTER_CALLBACK. Here is the offending line of code:
Log.LogSendBefore(a_dg.ToString(), DAT.CALLBACK.ToString(), a_msg.ToString(), CallbackToCsv(twcallback));
Just need to replace a_msg.ToString() with MSG.REGISTER_CALLBACK.ToString(). Pretty trivial, but it makes me look twice when looking at the log file.
If you look in the method
TWAIN::DatIdentity
, you will find that if you are using callbacks that the logging uses the same message passed in instead of usingMSG.REGISTER_CALLBACK
. Here is the offending line of code:Log.LogSendBefore(a_dg.ToString(), DAT.CALLBACK.ToString(), a_msg.ToString(), CallbackToCsv(twcallback));
Just need to replace
a_msg.ToString()
withMSG.REGISTER_CALLBACK.ToString()
. Pretty trivial, but it makes me look twice when looking at the log file.