Anyone here using Log4VFP https://github.com/VFPX/Log4VFP/blob/master/README.md or Lisa Slater Nichols' Log4Fox?
If not, how are you doing your application logging?
Eric
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
I just have my own class that I create a global instance of, and that logs to file under a specified folder structure based on date, like:
app\logs\2023\10\05\app.log
Then an append method like:
myApp.goLogger.Append("some text")
Which updates the log file like:
2023-10-05T14:44:58:some text
If I needed features like logging to a table, different log levels and so forth I'd use one of the two you mentioned.
I think that's what most people do, and what my session at SW Fox in a few weeks will address.
E
On Thu, Oct 5, 2023 at 8:47 AM Alan Bourke alanpbourke@fastmail.fm wrote:
I just have my own class that I create a global instance of, and that logs to file under a specified folder structure based on date, like:
app\logs\2023\10\05\app.log
Then an append method like:
myApp.goLogger.Append("some text")
Which updates the log file like:
2023-10-05T14:44:58:some text
If I needed features like logging to a table, different log levels and so forth I'd use one of the two you mentioned.
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
[excessive quoting removed by server]