GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Log::Report::Minimal(3) User Contributed Perl Documentation Log::Report::Minimal(3)

Log::Report::Minimal - simulate Log::Report functions simple

 Log::Report::Minimal
   is a Exporter

 # See Log::Report, most functions get "hollow" behavior
 use Log::Report::Optional mode => 'DEBUG';

This module implements the functions provided by Log::Report, but then as simple as possible: no support for translations, no dispatchers, no smart exceptions. The package uses "Log::Report" in an "::Optional" way, the main script determines whether it wants the "::Minimal" or full-blown feature set.

textdomain( <[$name],$config>|<$name, 'DELETE'|'EXISTS'>|$domain )

dispatcher( <$type, $name, %options>|<$command, @names> )
Not supported.
report( [$options], $reason, $message|<STRING,$params> )
Be warned that %options is a HASH here.

 -Option  --Default
  errno     $! or 1
  is_fatal  <depends on reason>
    
errno => INTEGER
is_fatal => BOOLEAN
try(CODE, %options)

alert($message)
assert($message)
error($message)
failure($message)
fault($message)
info($message)
mistake($message)
notice($message)
panic($message)
trace($message)
warning($message)

No translations, no Log::Report::Message objects returned.
N__($msgid)
N__n($single_msgid, $plural_msgid)
N__w(STRING)
__($msgid)
__n($msgid, $plural_msgid, $count, PAIRS)
__nx($msgid, $plural_msgid, $count, PAIRS)
__x($msgid, PAIRS)
__xn($single_msgid, $plural_msgid, $count, PAIRS)

$obj->import( [$domain], %options )
See Log::Report subroutine import.

This module is part of Log-Report-Optional distribution version 1.07, built on January 15, 2021. Website: http://perl.overmeer.net/CPAN/

Copyrights 2013-2021 by [Mark Overmeer <mark@overmeer.net>]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/

2021-01-15 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.