Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 21708, HotLog.pas - A multithreaded and buffered safe log file manager.

by Oliver Touzot Email: Anonymous


THotLog manages entirely a log file, has String formatting capabilities, deals with "variant open array parameters", may provide visual feedback (whithin a memo), (upd->2.2 (D5 support, some enhancements)).
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 5.0  to 7.0 860 downloads
Copyright: No significant restrictions


Size: 172,349 bytes
Updated on Tue, 26 Jul 2005 10:28:07 GMT
Originally uploaded on Sat, 15 May 2004 07:57:10 GMT
SHA1 Hash: 0A386164261557CC09341F3F4CD490B921C17A82
MD5 Hash: A1AA75C2E8B32427CB4193EE2E9ED41B

    Explore the files in this upload

Description
This is a Delphi unit, written using D6PE.

» v2.2 : Support for D5, a possible AV correction, enhanced memo management.

» Since v2.0 hotLog can close itself the log file while running, and open a new one, when a size limit is reached

It's main features and characteristics are :

» To be multithreaded, object oriented, and buffered safe. The log file will be correctly written to disk, even if your application crashes. The logging/parsing/formating and optional visual feedback work don't consume your main thread's time. You can use as many instances of THotLog as you want.

» May entirely manage the log file itself (but lets you change whatever you want, too):
o Path, name, extention (including [optional] generation (".001", ".002" aso) based ones),
o File accesses (openning, writting, closing ; Dealing with older version(s) if generations are used) ;

» Fully "automated" : The logging object instance is created at your application's start-up, you can use it directly if you decide to change none of the default settings. Similarly, everything is freed when needed.

» Provides means of easily retrieving informations about the environment your user is actually working with, in order to facilitate debugging, in case of need. These informations include numbers and facts about the operating system, the memory, the system's timing accuracy, and more ;

» Provides easy-to-use strings formating capabilities, to have your logs presented cleanly ;

» Able to output detailed informations in case of exceptions occuring, includding the ability to deal with "variant open array parameter" as argument ;

» Can be assigned a memo too, in order to provide your user visual feedback ;

» Provides code timing features too, with a resolution going from seconds to nanoseconds, and from ticks to cycles depending on your user's computer, and the timer you choose ;

» Many options are available, to allow you to change hotLog's default behaviour ;

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03