GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DANCER2::LOGGER::LOGREPORT (3)

.ds Aq ’

NAME

Dancer2::Logger::LogReport - reroute Dancer2 logs into Log::Report

CONTENTS

INHERITANCE



 Dancer2::Logger::LogReport
   is a Moo::Object



SYNOPSIS



  # This module is loaded when configured.  It does not provide
  # end-user functions or methods.

  # See DETAILS



DESCRIPTION

[The Dancer2 plugin was contributed by Andrew Beverley]

This logger allows the use of the many logging backends available in Log::Report. It will process all of the Dancer2 log messages, and also allow any other module to use the same logging facilities. The same log messages can be sent to multiple destinations at the same time via flexible dispatchers.

If using this logger, you may also want to use Dancer2::Plugin::LogReport

Many log back-ends, like syslog, have more levels of system messages. Modules who explicitly load this module can use the missing assert, notice, panic, and alert log levels. The trace name is provided as well: when you are debugging, you add a ’trace’ to your program... it’s just a better name than ’debug’.

You probably want to set a very simple logger_format, because the dispatchers do already add some of the fields that the default simple format adds. For instance, to get the filename/line-number in messages depends on the dispatcher ’mode’ (f.i. ’DEBUG’).

You also want to set the log level to debug, because level filtering is controlled per dispatcher (as well).

See DETAILS in Dancer2::Plugin::LogReport for examples.

METHODS

$obj-><B>logB>($level, $params)

SEE ALSO

This module is part of Log-Report distribution version 1.13, built on February 03, 2016. Website: http://perl.overmeer.net/log-report/

LICENSE

Copyrights 2007-2016 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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DANCER2::LOGGER::LOGREPORT (3) 2016-02-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.