Path: usenet.cise.ufl.edu!newsfeeds.nerdc.ufl.edu!news.magicnet.net!newspump.monmouth.com!newspeer.monmouth.com!newsfeed.corridex.com!nntp2.savvis.net!inetarena.com!not-for-mail
From: Dominique Dumont <[email protected]>
Newsgroups: comp.lang.perl.announce,comp.lang.perl.tk
Subject: [ANNOUNCE] new versions of Puppet::Log module
Followup-To: comp.lang.perl.tk
Date: 7 Jan 1999 19:41:51 GMT
Organization: Internet Arena
Lines: 40
Approved: [email protected] (comp.lang.perl.announce)
Message-ID: <[email protected]>
NNTP-Posting-Host: halfdome.holdit.com
X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content.
Xref: usenet.cise.ufl.edu comp.lang.perl.announce:219 comp.lang.perl.tk:2894


Hello

Starting from this version, Puppet::Log was splitted between a "core"
functionnality (in Puppet::LogBody), the Tk part (in Tk::Multi::Toplevel)
and the glue (this class). Version 1.010 is compatible with previous versions.

Here's the README file of the new version of Puppet::Log:

This class implements a log facility with an optional Tk display.

I.e once the class is created, you can log messages in it, but the Tk
display does no need to be created at the same time. You may invoke
later only when you need it.

When the Tk display is not invoked, the log can be either printed on
STDOUT or warned on STDERR (or stay hidden). But in any case, the log
message will be stored in the class so that all log messages can be
retrieved later by the user or by the Tk display when invoked.

Once the Tk display is invoked, it will be updated by new logs.

Suggested DSLI entry in the Tk Module list, section 'Modules using Tk':
Puppet::
Log            bdpO  Logging facility based on Tk                  DDUMONT

About Puppet::* classes

Puppet classes are a set of utility classes which can be used by any object.
If you use directly the Puppet::*Body class, you get the plain functionnality.
And if you use the Puppet::* class, you can get the same functionnality and
a Tk Gui to manage it.


Cheers

--
[email protected]