Re: Would a logging framework make sense for PicoLisp

2014-03-10 Thread Thorsten Jolitz
andr...@itship.ch writes: Hi Andreas, I crafted a tiny logging tool consisting of one function and some globals. I'm new to picolisp (and its my first lisp), so feedback and advices are greatly appreciated. great, thank you, I just did a quick first test and it worked:

Re: Would a logging framework make sense for PicoLisp

2014-03-10 Thread Thorsten Jolitz
Thorsten Jolitz tjol...@gmail.com writes: andr...@itship.ch writes: Hi Andreas, I crafted a tiny logging tool consisting of one function and some globals. I'm new to picolisp (and its my first lisp), so feedback and advices are greatly appreciated. great, thank you, I just did a quick

Re: Would a logging framework make sense for PicoLisp

2014-03-10 Thread andreas
Hi Thorsten I'm not sure if I understand you correctly. You can use (log) in different ways, e.g.: (log just a message) (log 'debug variable x is x) (log 'warn folder size is reaching 1GB) (log 'error a fatal error occured) If (on *LogOn), all messages get printed. If (setq *LogOn 'warn), only

Re: Would a logging framework make sense for PicoLisp

2014-03-10 Thread Thorsten Jolitz
andr...@itship.ch writes: Hi Andreas, I'm not sure if I understand you correctly. You can use (log) in different ways, e.g.: (log just a message) (log 'debug variable x is x) (log 'warn folder size is reaching 1GB) (log 'error a fatal error occured) If (on *LogOn), all messages get