dcLog.prg

(App, USA)

Not a whole app, but one of the persistent pieces of code that keeps following me from app to app. It's just a simple logger - pass a string to it, and it will write that string into a log file. The nice features

- it will add a timestamp in front of the row (haven't fixed the format until mid-2016 so it was a bit of a mess; nowadays it's always yyyy-mm-dd hh:mm:ss)

- it will redirect output to an active window if one is passed to it. A feature I used a lot for a few years and then removed it because I didn't really need it. We had better progress indicators for slow processes, and the slow processes were fewer now.

- verbosity levels, a feature I copied from Jake but rarely use. Still works but I keep forgetting to set the level.

- silent running is on by default, i.e. it won't echo on the console unless specifically told to - which I tell it when I log a new piece of something and need to debug it.


Mentions: 25-I-2007., 03-IX-2007., 15-I-2008., 16-VII-2009., 31-III-2016., 04-V-2020., Jake Bauer, in serbian

1-V-2016