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  -  NET::STOMP::STUPIDLOGGER (3)

.ds Aq ’

NAME

Net::Stomp::StupidLogger - stub logger

CONTENTS

DESCRIPTION

This class implements a very simple logger-like object, that just delegates to carp.

By default, it logs at warn and above.

You should pass a real logger object to Net::Stomp if you want any other behaviour.

METHODS

    new

Constructor. You can pass a hashref with the log levels to enable / disable, like:



  Net::Stomp::StupidLogger->new({debug=>1}); # logs debug, warn,
                                             # error, fatal

  Net::Stomp::StupidLogger->new({warn=>0}); # logs error, fatal



    debug

    info

    warn

    error

    fatal



  $logger->warn(some,$message);



If the corresponding level is enabled, joins the arguments in a single string (no spaces added) and calls carp.

AUTHORS

Gianni Ceccarelli <dakkar@thenautilus.net>

COPYRIGHT

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::STOMP::STUPIDLOGGER (3) 2015-06-27

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