UNIX ON-LINE Man Pages - Die Onlinehilfe

Die Syntax von Unixbefehlen wird in den entsprechenden Manpages dokumentiert. Hier können Sie diese Onlinehilfe für viele Standardbefehle abrufen.

Seiten auflisten, welche beginnen mit:
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z   ALPHA   NUM   ANDERE   ALLE
Log::Message::Handlers(Perl Programmers Reference GLog::Message::Handlers(3pm)

       Log::Message::Handlers - Message handlers for Log::Message

           # Implicitly used by Log::Message to serve as handlers for
           # Log::Message::Item objects

           # Create your own file with a package called
           # Log::Message::Handlers to add to the existing ones, or to even
           # overwrite them



       Log::Message::Handlers provides handlers for Log::Message::Item
       objects.  The handler corresponding to the level (see
       Log::Message::Item manpage for an explanation about levels) will be
       called automatically upon storing the error.

       Handlers may also explicitly be called on an Log::Message::Item object
       if one so desires (see the Log::Message manpage on how to retrieve the
       Item objects).

Default Handlers
       Will simply log the error on the stack, and do nothing special

       Will carp (see the Carp manpage) with the error, and add the timestamp
       of when it occurred.

       Will croak (see the Carp manpage) with the error, and add the timestamp
       of when it occurred.

       Will cluck (see the Carp manpage) with the error, and add the timestamp
       of when it occurred.

       Will confess (see the Carp manpage) with the error, and add the
       timestamp of when it occurred

       Will simply die with the error message of the item

       Will simply warn with the error message of the item

       Will provide a traceback of this error item back to the first one that
       occurrent, clucking with every item as it comes across it.

Custom Handlers
       If you wish to provide your own handlers, you can simply do the

       o   Create a file that holds a package by the name of

       o   Create subroutines with the same name as the levels you wish to
           handle in the Log::Message module (see the Log::Message manpage for
           explanation on levels)

       o   Require that file in your program, or add it in your configuration
           (see the Log::Message::Config manpage for explanation on how to use
           a config file)

       And that is it, the handler will now be available to handle messages
       for you.

       The arguments a handler may receive are those specified by the "extra"
       key, when storing the message.  See the Log::Message manpage for
       details on the arguments.

       Log::Message, Log::Message::Item, Log::Message::Config

       This module by Jos Boumans <kane@cpan.org>.

       Thanks to Ann Barcomb for her suggestions.

       This module is copyright (c) 2002 Jos Boumans <kane@cpan.org>.  All
       rights reserved.

       This library is free software; you may redistribute and/or modify it
       under the same terms as Perl itself.

perl v5.12.1                      2010-04-26       Log::Message::Handlers(3pm)

Scannen Sie den Barcode um die Webseite zu öffnen

Quelle: http://www.trinler.net/de/service/doc/linux/man.html?command=Log%3A%3AMessage%3A%3AHandlers
Gedruckt am: 21.11.2017 13:07 GMT+0100 (2017-11-21T13:07:36+01:00)