#!/usr/bin/env perl

use warnings;
use strict;

use lib '../../lib';
use Log::Report;

use Data::Dumper;
$Data::Dumper::Indent = 1;


  dispatcher SYSLOG => 'syslog';
  
  try {
    report {is_fatal => 0, to => 'syslog'}, ERROR => "Non fatal error";
    error "This is an error";
  };

  # Can this not report the syslog message to STDERR?
  $@->reportAll(is_fatal => 0);

