---
name: "Log::Report::Minimal"
section: "3pm"
platform: "linux"
package: "perl-log-report-optional"
version: "1.08-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Log::Report::Minimal"
---

# Log::Report::Minimal(3pm)

simulate Log::Report functions simple

## NAME

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

## INHERITANCE

```
 Log::Report::Minimal
   is an 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**( \<\[$name\],$config\>\|\<$name, 'DELETE'\|'EXISTS'\>\|$domain )

  ### Report Production and Configuration

- **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)

  ### 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, PAIRS)

  ### Configuration

- $obj-\>**import**( \[$domain\], %options )

  See Log::Report subroutine import.

## DIAGNOSTICS

- Error: even length parameter list for \_\_x at $where

  Cast by \_**\_x()**

- Error: odd length parameter list with '$msg'

  Cast by **report()**

- Error: syntax flag must be either SHORT or REPORT, not \`$flag'

  Cast by **import()**

- Error: token '$token' not recognized as reason

  Cast by **report()**

## SEE ALSO

This module is part of Log-Report-Optional version 1.08, built on September 08, 2025. Website: *http://perl.overmeer.net/CPAN/*

## LICENSE

For contributors see file ChangeLog.

This software is copyright (c) 2013-2025 by Mark Overmeer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
