Hello all, and happy new year,
There are three Logging packages for Squeak that I know of.
1. SimpleLog 2. Toothpick 3. LogEngine there is also a Null logger.
This package "Logging", available from SqueakMap and in Universes, is slightly higher level 'front end' api to these logging back ends.
best regards
Keith
=================== from the class comment
Convenient usage: 'annotated values'
self log x: 10 y: 20 z: 30.
To select a specific log severity level (i.e. not the temporary one featured above).
self log info x: 10 y: 20 z: 30.
To log the current method's input parameters.
Rectangle-#corner: topLeftPoint extent: heightWidthPoint
self log debug this.
would be the same as
self log corner: topLeftPoint extent: heightWidthPoint.
To log the current methods variables:
self log debug vars instance.
Keith Hodges wrote:
Hello all, and happy new year,
There are three Logging packages for Squeak that I know of.
- SimpleLog
- Toothpick
- LogEngine
there is also a Null logger.
This package "Logging", available from SqueakMap and in Universes, is slightly higher level 'front end' api to these logging back ends.
best regards
Keith
I forgot to mention the new news, that being support for Göran's SimpleLog has been added recently. Toothpick is also supported, though LogEngine does not have an adaptor as yet.
best regards
Keith
p.s. if the authors of toothpick happen to read this, I still think some additional work is needed for Toothpick to support logging to a file reliably on windows.
squeak-dev@lists.squeakfoundation.org