ok. If you say so, I will try it as soon as I have time and I will let you know my feedback and any question I have with it.
thanks!
mariano
On Mon, Nov 24, 2008 at 6:42 PM, Keith Hodges keith_hodges@yahoo.co.ukwrote:
Mariano Martinez Peck wrote:
Keith: hahahah. I know there was a "Logging" project, but as there were few places where to log, I decided to do it by hand. Do you think it should be better to do it with it altought I have few places to log ?
Definitely.
That is exactly what Logging is there for, so that people are encouraged to put the log code in their packages without worrying about how the actual logging is done, timestamped etc. You can let the user choose how the output is provided/used/managed (e.g. SimpleLog does log file rotation). The default backend is simply a Null instance (it should/could be a minimal Transcript Log equivalent to Transcript show:)
There are also utilities for timing events, so you could start a timer when you send a query and print it when you get the result.
Just by curious, is Logging something like log4j (sorry, but that's what I know :( ?
does Logging use RIO for files ?
thanks,
Mariano
If you load "SimpleLog" (from the gjallar team) this uses Syslog, transcript, LogMorph or files (not rio, just a basic filestream)
Keith