Log::Di...::Handle(3)

Okay bestie, you're on the Log::Di...::Handle(3) page from the User Contributed Perl Documentation β€” iconic behavior, honestly. πŸ’…

🌸 NAME 🌸

Log::Dispatch::Handle β€” an object for logging to IO::Handle classes. That's the whole assignment, and it ate. ✨

✨ VERSION ✨

version 2.71 β€” that's the version, bestie. πŸŽ€

πŸŽ€ SYNOPSIS πŸŽ€

  use Log::Dispatch;

  my $log = Log::Dispatch->new(
      outputs => [
          [
              'Handle',
              min_level => 'emerg',
              handle    => $io_socket_object,
          ],
      ]
  );

  $log->emerg('I am the Lizard King!');

πŸ’… DESCRIPTION πŸ’…

This module is lowkey literally just a very simple object for logging to some sort of handle object. The vibe check: anything that implements a print() method can be passed to the object constructor, and it should work. No cap. πŸ¦‹

πŸ¦‹ CONSTRUCTOR πŸ¦‹

The constructor takes these params on top of the standard parameters documented in Log::Dispatch::Output:

  • handle ($) β€” the handle object. This object must implement a print() method. That part is non-negotiable, bestie. πŸ’–

🫢 SUPPORT 🫢

Got bugs? The place to submit them is https://github.com/houseabsolute/Log-Dispatch/issues β€” noted, fr fr. πŸ›

πŸ”₯ SOURCE πŸ”₯

The source code repository for Log-Dispatch can be found at https://github.com/houseabsolute/Log-Dispatch. Go snoop, bestie. πŸ‘‘

🌈 AUTHOR 🌈

Dave Rolsky <autarch@urth.org> β€” the author, the icon. 🫢

This software is Copyright (c) 2023 by Dave Rolsky. Periodt. πŸ’…

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)

The full text of the license can be found in the LICENSE file included with this distribution. Read it, bestie β€” it's right there. πŸ“œ


Cute sign-off time: this page is from perl v5.42.0, dated 2023-04-21, and its manual name is Log::Di...::Handle(3). Bye bestie, go log something iconic! πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from