1Log::Report::Minimal(3)User Contributed Perl DocumentatioLnog::Report::Minimal(3)
2
3
4

NAME

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

INHERITANCE

9        Log::Report::Minimal
10          is a Exporter
11

SYNOPSIS

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

DESCRIPTION

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

FUNCTIONS

24       textdomain( <[$name],$config>|<$name, 'DELETE'|'EXISTS'>|$domain )
25
26   Report Production and Configuration
27       dispatcher( <$type, $name, %options>|<$command, @names> )
28           Not supported.
29
30       report( [$options], $reason, $message|<STRING,$params> )
31           Be warned that %options is a HASH here.
32
33            -Option  --Default
34             errno     $! or 1
35             is_fatal  <depends on reason>
36
37           errno => INTEGER
38           is_fatal => BOOLEAN
39       try(CODE, %options)
40
41   Abbreviations for report()
42       alert($message)
43       assert($message)
44       error($message)
45       failure($message)
46       fault($message)
47       info($message)
48       mistake($message)
49       notice($message)
50       panic($message)
51       trace($message)
52       warning($message)
53
54   Language Translations
55       No translations, no Log::Report::Message objects returned.
56
57       N__($msgid)
58       N__n($single_msgid, $plural_msgid)
59       N__w(STRING)
60       __($msgid)
61       __n($msgid, $plural_msgid, $count, PAIRS)
62       __nx($msgid, $plural_msgid, $count, PAIRS)
63       __x($msgid, PAIRS)
64       __xn($single_msgid, $plural_msgid, $count, PAIRS)
65
66   Configuration
67       $obj->import( [$domain], %options )
68           See Log::Report subroutine import.
69

SEE ALSO

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

LICENSE

75       Copyrights 2013-2021 by [Mark Overmeer <mark@overmeer.net>]. For other
76       contributors see ChangeLog.
77
78       This program is free software; you can redistribute it and/or modify it
79       under the same terms as Perl itself.  See http://dev.perl.org/licenses/
80
81
82
83perl v5.32.1                      2021-01-27           Log::Report::Minimal(3)
Impressum