File: Fatal.pm

package info (click to toggle)
fusioninventory-agent 1%3A2.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 27,488 kB
  • sloc: perl: 120,896; xml: 9,459; sh: 760; python: 26; makefile: 13
file content (26 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package FusionInventory::Agent::Logger::Fatal;

use strict;
use warnings;

use parent 'FusionInventory::Agent::Logger::Backend';

use English qw(-no_match_vars);
use Carp;

sub new {
    my ($class, $params) = @_;

    my $self = {};
    bless $self, $class;

    return $self;
}

sub addMessage {
    my ($self, %params) = @_;

    croak $params{message};
}

1;