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  -  JMX::JMX4PERL::AGENT::JOLOKIA::LOGGER (3)

.ds Aq ’

NAME

JMX::Jmx4Perl::Agent::Jolokia::Logger - Simple logging abstraction for the Jolokia agent manager

CONTENTS

DESCRIPTION

Simple Logger used throughout ’jolokia’ and its associated modules for output. It knows about coloring and a quiet mode, where no output is generated at all.

METHODS

$logger = JMX::Jmx4Perl::Agent::Jolokia::Logger->new(quiet=>1,color=>1) Creates a logger. Dependening on the options (quiet and color) output can be supressed completely or coloring can be used. Coloring only works, if the Module Term::ANSIColor is available (which is checked during runtime).
$log->debug(‘‘....’’); Debug output
$log->info(‘‘....’’,‘‘[em]’’,‘‘....’’,‘‘[/em]’’,...); Info output. The tag "[em]" can be used to higlight a portion of the output. The tag must be provided in an extra element in the given list.
$log->warn(...) Warning output (printed in yellow)
$log->warn(...) Error output (printed in red)

LICENSE

This file is part of jmx4perl. Jmx4perl is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by The Free Software Foundation, either version 2 of the License, or (at your option) any later version.

jmx4perl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with jmx4perl. If not, see <http://www.gnu.org/licenses/>.

A commercial license is available as well. Please contact roland@cpan.org for further details.

AUTHOR

roland@cpan.org

NAME

JMX::Jmx4Perl::Agent::Jolokia::Logger::None - No-op logger

DESCRIPTION

No-op logger used when quiet mode is switched on. Doesn’t print out anything.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 JMX::JMX4PERL::AGENT::JOLOKIA::LOGGER (3) 2016-04-03

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