Revision: 4123
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=4123&view=rev
Author: steve44src
Date: 2011-02-16 07:39:50 +0000 (Wed, 16 Feb 2011)
Log Message:
-----------
- added logging
Modified Paths:
--------------
trunk/plugins/MP4IPSymcon/MP4IPSymcon/VariableSetter.cs
Modified: trunk/plugins/MP4IPSymcon/MP4IPSymcon/VariableSetter.cs
===================================================================
--- trunk/plugins/MP4IPSymcon/MP4IPSymcon/VariableSetter.cs 2011-02-16 07:38:22 UTC (rev 4122)
+++ trunk/plugins/MP4IPSymcon/MP4IPSymcon/VariableSetter.cs 2011-02-16 07:39:50 UTC (rev 4123)
@@ -18,17 +18,20 @@
/// </summary>
public class VariableSetter : ClickHandler
{
+ static Logger Log = LoggerFactory.getLogger("VariableSetter");
int id = 0;
string val;
public VariableSetter(int id, string val)
{
+ Log.Debug("Creating VariableSetter for {0}: {1}", id, val );
this.id = id;
this.val = val;
}
public void onClick(Action.ActionType actionType) {
Variable var = IPSObject.loadVariable((ushort)id);
+ Log.Debug("Setting Variable {0} to {1}", id, val );
var.setStringValue( val );
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|