Log::Dispatch::Handle(3pm)

Log::Dispatch::Handle3pm

Object for logging to io::handle classes

Usage

  use Log::Dispatch;
  my $log = Log::Dispatch->new(
      outputs => [
          [
              'Handle',
              min_level => 'emerg',
              handle    => $io_socket_object,
          ],
      ]
  );
  $log->emerg('I am the Lizard King!');

Version

version 2.71

Overview

This module supplies a very simple object for logging to some sort of handle object. Basically, anything that implements a "print()" method can be passed the object constructor and it should work.

Constructor

The constructor takes the following parameters in addition to the standard parameters documented in Log::Dispatch::Output:

•

handle ($)

The handle object. This object must implement a "print()" method.

Support

Bugs may be submitted at <https://github.com/houseabsolute/Log-Dispatch/issues>.

Source

The source code repository for Log-Dispatch can be found at <https://github.com/houseabsolute/Log-Dispatch>.

Releases

12 releases since Debian 3.0 (Woody); the text changed 10 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7
  7. 8
  8. 9
  9. 10
  10. 11–12
  11. 13

Author

Dave Rolsky <[email protected]>

From liblog-dispatch-perl 2.71-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.