Difference between revisions of "LMD LogTools tutorial"

From LMD
Jump to: navigation, search
 
Line 1: Line 1:
 
Main purpose of this tool package is logging and monitoring actions of application. It should be used when you can't run regular debugger (or when it useless) - multi-thread application, system services, applications on client site etc.  
 
Main purpose of this tool package is logging and monitoring actions of application. It should be used when you can't run regular debugger (or when it useless) - multi-thread application, system services, applications on client site etc.  
  
In current pre-beta stage it give a basic opportunity to user. To start use LogTools in your application you should add LMDLogMessage.pas unit to uses section of your unit. And then you can use LMDLog instance of TLMDLogSession
+
In current pre-beta stage it give a basic opportunity to user. To start use LogTools in your application you should add LMDLogMessage.pas unit to uses section of your unit. And then you can use LMDLog instance of TLMDLogSession.
 +
 
 +
<delphi>
 +
uses
 +
  ..., LMDLogMessage, ...;
 +
 
 +
...
 +
  LMDLog.SendString(Test, 'Hello, World!');
 +
...
 +
</delphi>

Revision as of 13:07, 16 July 2007

Main purpose of this tool package is logging and monitoring actions of application. It should be used when you can't run regular debugger (or when it useless) - multi-thread application, system services, applications on client site etc.

In current pre-beta stage it give a basic opportunity to user. To start use LogTools in your application you should add LMDLogMessage.pas unit to uses section of your unit. And then you can use LMDLog instance of TLMDLogSession.

<delphi> uses

 ..., LMDLogMessage, ...;

...

 LMDLog.SendString(Test, 'Hello, World!');

... </delphi>