Nice :-) Much more readable than mine.
In reply to Re^4: Poor man's logging by adrianh in thread Poor man's logging by adrianh