Hi Thorsten, > could it be used to optionally log a whole web-application by wrapping > the main function as 'myProgram' into the log function? > > (de main () > (call 'mkdir "-p" *Pool *Blob) > (pool *Pool *Dbs *Jnl) > (unless (seq *DB) > (load "app/init.l") ) ... ) > > (de logMain () > (log ... > (main) ) ) > > and then start with > > ,------------------------------- > | : ./pil app/main.l -main -go + > `------------------------------- > > or > > ,---------------------------------- > | : ./pil app/main.l -logMain -go + > `---------------------------------- > > for turning logging off or on?
Yes, this should work fine. ♪♫ Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe