Log::Report::Minimal(3)

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

INHERITANCE
 Log::Report::Minimal
   is a Exporter

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

DESCRIPTION
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.

FUNCTIONS

textdomain(DOMAIN, [CONFIGURATION])

  Report Production and Configuration
dispatcher((TYPE, NAME, OPTIONS)|(COMMAND => NAME, [NAMEs]))
    Not supported.

report([HASH-of-OPTIONS], REASON, MESSAGE|(STRING,PARAMS))
     -Option  --Default
      errno     $! or 1
      is_fatal  <depends on reason>

    errno => INTEGER
    is_fatal => BOOLEAN
try(CODE, OPTIONS)

  Abbreviations for report()

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

  Language Translations
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, PAURS)

  Configuration

$obj->import([DOMAIN], OPTIONS)
    See Log::Report subroutine import.

SEE ALSO
This module is part of Log-Report-Optional distribution version 1.00, built on January 05, 2014. Website: http://perl.overmeer.net/log-report/

LICENSE
Copyrights 2013-2014 by [Mark Overmeer]. 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://www.perl.com/perl/misc/Artistic.html