2.11 Jul 27, 2005

- In tests, make sure filehandles are closed before reading or
unlinking the file.  Patch from on Savage.


2.10 Feb 11, 2004

- No changes to the core code, just a change to the included
Makefile.PL so it works with Module::Build 0.23, which breaks
backwards compatibility (grr).

- Fix a doc bug in Log::Dispatch::Syslog.  It defaults to using a unix
socket, not an inet socket.


2.09 Jan 09, 2004

- Fix a test failure on Win32 platforms.  The problem was in the test,
not the code.  Patch by David Viner.

- Distro is now signed with Module::Signature.


2.08 Nov 27, 2003

- Added Log::Dispatch->would_log method, which indicates whether
logging will be done for a given log level.  Suggested by Ruslan
Zakirov.

- Switched tests to use Test::More.


2.07 Sep 27, 2003

- Added Log::Dispatch::File::Locked.  Based on code from JAA Klunder.

- Check all system call return values.

- Fix warning from Log::Dispatch::File if it was loaded after
Attribute::Handlers.  Reported by Mike Schilli.

- Fixed up POD to pass pod tests.

2.06 May 1, 2003

  "Arise ye workers from your slumbers
   Arise ye criminals of want
   For reason in revolt now thunders
   and at last ends the age of cant."

- Added a permissions parameter to Log::Dispatch::File->new.  Based on
a patch from James FitzGibbon.

2.05 Apr 18, 2003

- Changed a code construct that seems to provoke a bug for Meng Wong,
but no one else ;)

- Switched to Module::Build and removed interactive portion of
installation process.

- Log::Dispatch::Email::MailSender was causing Mail::Sender to send
debug output to STDERR if warnings were on.  Now it's not.

2.04 Mar 21, 2003  (the "not in my name" release)

- The close_after_write option didn't actually do anything.  Fixed by
JAA Klunder.

2.03 Feb 27, 2003

- Log::Dispatch::ApacheLog would break if a log level was specified as
a number.  Reported by Kevin Goess.

2.02 Feb 20, 2003

- Added close_after_write option to Log::Dispatch::File.  Based on
patch from JAA Klunder.

2.01 Jun 21, 2002

- Added new module Log::Dispatch::Email::MailSender, provided by
Joseph Annino.

- Log::Dispatch::Output now contains "use Log::Dispatch".

- Now requires Params::Validate, which is used to validate parameter
for constructors and some other methods.

- Add an 'autoflush' option to Log::Dispatch::File objects.  Suggested
by Jerrad Pierce.

- Added some error checking to ::Email::MailSend.

- Changed a carp to a warn in ::Email::MailSendmail.

- Only warn if $^W is true.

2.00 Apr 11, 2002

** BACKWARDS INCOMPATIBILITY ALERT **

- Use a standard hash reference for objects instead of pseudo-hashes.
** THIS MAY BREAK EXISTING SUBCLASSES **.

- Log::Dispatch::Screen claimed it defaulted to using STDERR but it
was lying, it defaulted to using STDOUT.  This has been changed so
that it really does default to STDERR.  Reported by James FitzGibbon.

1.80 Oct 27, 2001

- Log::Dispatch::Syslog no longer requires syslog.ph for Perl >=
5.006.  Patch by Benoit Beausejour.

- If you passed a mode parameter to Log::Dispatch::File it always
thought the mode was append, no matter what was passed.  Patch from
Luke Bakken.

- Log::Dispatch::File no longer uses IO::File internally.

1.79 May 15, 2001

- Don't use $, internally.  Apparently this is usually undefined.
Instead, the convenience methods now simply take an array of messages
and turn it into a scalar by doing "@_".  Thanks to Dean Kopesky for
the bug report.

1.78 Apr 19, 2001

- Allow ApacheLog to take either an Apache or Apache::Server object.

- Fix callback documentation in Log::Dispatch::Output.  Thanks to Rob
Napier.

- Add flush method to Log::Dispatch::Email.  Patch submitted by Rob
Napier.

1.77 Jan 2, 2001

- The convenience methods named after the log levels ($log->debug,
$log->alert, etc.) can now take a list of scalars.  These are joined
together just like Perl's print function does.  Suggested by Tim
Ayers.

1.76 Oct 10, 2000

- New method: Log::Dispatch->level_is_valid($string).  Suggested by
Jeff Hamman.

- Fix for version issues between CPAN versions of
Log::Dispatch::ApacheLog.  Reported by Jost Krieger.

1.75 Sep 28, 2000

- Additional argument 'level' passed to message processing callbacks.
Suggested by Jeff MacDonald.
- Log/Dispatch.pm: added docs section on Log::Dispatch::Tk.

1.7 Aug 30, 2000

- Added Log/Dispatch/ApacheLog.pm.  This logs to the Apache error log.
This is for use under mod_perl.

1.6 Jul 4, 2000

NOTE: 1.5 was never released to CPAN.

- Log/Dispatch.pm: Added convenience methods for log levels like
$dispatcher->alert($message).  Suggested by Dominique Dumont.

1.5

This version introduces some changes into the interface that will
cause incompatibility with any Log::Dispatch::Output interface you may
have created.  However, it is fairly simple to fix.  Simply change the
method in your subclass named 'log' to be called 'log_message'.  You
can also remove the line:

  return unless $self->_should_log($params{level});

This is now done before the message ever gets to the Output subclass
(which is what it should have done in the first place, really.)

This was done so that I could allow per-Output object callbacks, a
feature which several people have requested and which seems useful
enough to warrant the breakage.

NOTE: This change is transparent if you are only using the Output
objects included with this distribution.

- Many: Changed the interface to allow per-Output object level
callbacks and documented this.
- Log/Dispatch/Base.pm: new base class for both Log::Dispatch and
Log::Dispatch::Output objects (contains callback related code).  You
should never need to deal with this class unless you are me.
- Log/Dispatch/Output.pm: document _accepted_levels.
- Log/Dispatch/Output.pm: Fix _accepted_levels so that emergency level
is returned as 'emergency', not 'emerg'.
- Log/Dispatch.pm: Fix doc bug (change 'file' to 'filename').  Thanks
to Clayton Scott.
- Log/Dispatch/File.pm: Do compile time check for O_APPEND constant
rather than run time check.

1.2 May 5, 2000

- Log/Dispatch.pm: Added callbacks parameter to Log::Dispatch->new.  I
will also be adding this to the Log::Dispatch::* classes via
Log::Dispatch::Output but I wanted to get this new version out there
because I think there are people out there who would benefit from
this.
- Log/Dispatch.pm: Added docs section on why Log::Dispatch doesn't add
newlines to outgoing messages.

1.11 Feb 24, 2000

- Realized I need to tweak the $VERSION in Log::Dispatch

1.1 Feb 24, 2000

- upped version to 1.1 to indicate my confidence in this release (I'm
just asking for bug reports, I know).
- added accepted_levels method to Log::Dispatch::Output based on
discussions with Dominique Dumont (author of the Log::Dispatch::Tk
suite).
- canonical names for log levels are now the unabbreviated form
(though the abbreviated ones used by syslog are still fine and there
is no plan to deprecate them).  This really only affects what is
returned by the new accepted_levels method.

1.010 Jan 17, 2000

- fixed a bug in the DESTROY method of Log::Dispatch::Email that
caused an annoying error and may have caused spurious emails to be
sent (thanks to Radu Greab).
- fixed a bug in Log::Dispatch::Email::MailSendmail.  For some reason
this module demands a 'from' address.

1.009 Jan 2, 2000

- Created this version simply to address an issue with CPAN and my
internal version numbers having a conflict.  This has no changes from
1.008.

1.008 Dec 30, 1999

- Fixed a bug causing unitialized value warnings with -w (oops).
- Fixed a minor mistake in Log::Dispatch::Syslog docs (thanks to Ilya
Martynov)
- Put newlines into messages in SYNOPSIS sections for some modules.
This is to clarify that you need to do this.  Just to be clear,
Log::Dispatch does not alter message content in any manner whatsoever
(and never will).  However, it would be trivial to subclass
Log::Dispatch to do this.

1.007 Dec 1, 1999

- First public release.  It passes its own test suite so it should
work (he says hopefully).