| 1 | # This code is part of Perl distribution Log-Report version 1.46. | ||
| 2 | # The POD got stripped from this file by OODoc version 3.06. | ||
| 3 | # For contributors see file ChangeLog. | ||
| 4 | |||
| 5 | # This software is copyright (c) 2007-2026 by Mark Overmeer. | ||
| 6 | |||
| 7 | # This is free software; you can redistribute it and/or modify it under | ||
| 8 | # the same terms as the Perl 5 programming language system itself. | ||
| 9 | # SPDX-License-Identifier: Artistic-1.0-Perl OR GPL-1.0-or-later | ||
| 10 | |||
| 11 | |||
| 12 | package Log::Report::Dispatcher::Perl;{ | ||
| 13 | 17 | our $VERSION = '1.46'; | |
| 14 | } | ||
| 15 | |||
| 16 | 17 | ▶ | use base 'Log::Report::Dispatcher'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | |||
| 18 | 17 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 17 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | 17 | ▶ | use Log::Report 'log-report', import => [ ]; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | 17 | my $singleton = 0; # can be only one (per thread) | |
| 24 | |||
| 25 | #-------------------- | ||
| 26 | |||
| 27 | sub log($$$$) | ||
| 28 | 0 | ▶ | { my ($self, $opts, $reason, $message, $domain) = @_; |
|
Subroutine
log: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 29 | 0 | print STDERR $self->translate($opts, $reason, $message); | |
| 30 | } | ||
| 31 | |||
| 32 | 17 | 1; | |