Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Logging for VBA - Log4VBA

129 views
Skip to first unread message

Cliff Gibb

unread,
Oct 3, 2006, 7:45:45 PM10/3/06
to
During a medium complexity project, I rolled my own logger for vba (in
my case Excel programming). It's loosely based on Log4J (very loosely)
- but it made it possible for me to easily log events within my
routines - and write the lof to an external file (which I used baretail
to watch).

It sure beats Debug.Print!

http://log4vba.everage.ca


--------------------------------------------------------------------------------------------------

The Log4VBA solution is used by the developer to log fatal errors,
warnings, and information at particular points within a procedure.
The messages generated by the logger may be written to a file and the
immediate window (the console). When the code is ready to be delivered,
the logger entries may be left within the code. The developer only
needs to modify a single setting in order to disable the logging
globally.

0 new messages