Recommended logging API?
Hi all, Is there a recommended package to use for logging? I've found out that Object>>log exists and shoult be used instead of Transcript>>show, and http://www.mail-archive.com/setools@lists.squeakfoundation.org/msg00108.html speaks about different packages or "adapters". Is there a recommended one or a recommended way of doing it in Pharo? (and/or a document I should read) Thanks for any advice. __ Sébastien.
On Fri, 12 Aug 2011 12:42:06 +0200 Sébastien Bigaret <sebastien.bigaret@telecom-bretagne.eu> wrote:
Hi all,
Is there a recommended package to use for logging? I've found out that Object>>log exists and shoult be used instead of Transcript>>show, and http://www.mail-archive.com/setools@lists.squeakfoundation.org/msg00108.html speaks about different packages or "adapters". Is there a recommended one or a recommended way of doing it in Pharo? (and/or a document I should read) Thanks for any advice.
__ Sébastien.
Oops, sorry, I had missed the dedicated page in the collaborActiv book: http://book.pharo-project.org/book/LanguageAndLibraries/LoggingTools/?_s=DP7... I guess it gathers the recommended approaches I was searching for. __ Sébastien.
Hi sebastien it depends which level of logging you want to do. For simple internal logs use Object log else I would use toothpick Stef On Aug 12, 2011, at 12:42 PM, Sébastien Bigaret wrote:
Hi all,
Is there a recommended package to use for logging? I've found out that Object>>log exists and shoult be used instead of Transcript>>show, and http://www.mail-archive.com/setools@lists.squeakfoundation.org/msg00108.html speaks about different packages or "adapters". Is there a recommended one or a recommended way of doing it in Pharo? (and/or a document I should read) Thanks for any advice.
__ Sébastien.
On Fri, 12 Aug 2011 13:27:36 +0200 Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Hi sebastien
it depends which level of logging you want to do. For simple internal logs use Object log else I would use toothpick
Stef
Thanks --I definitely want to be able to use different logging levels, so I'll have a close look at Toothpick. __ Sébastien.
participants (2)
-
Stéphane Ducasse -
Sébastien Bigaret