/Log-Any-Adapter-Term

Adapter for perl module Log::Any to log to the terminal with color.

Primary LanguagePerl

==========================
=  Log-Any-Adapter-Term  =
==========================

VERSION:  0.03
RELEASED: 20th Feb 2010

Adapter for perl module Log::Any that logs to the terminal. Includes color
output for interactive terminals.


STATUS

Early days, but functional and colourful. Been using for a while as part of
another project, pulling out to seperate module in preparation for a CPAN
release.


INSTALLATION

To install this module, run the following commands:

	perl Build.PL
	./Build
	./Build test
	./Build install


SYNOPSIS

    use Log::Any qw($log);
    use Log::Any::Adapter::Term;
    Log::Any->set_adapter( 'Term', level => 'info' );

    $log->info("Hello");
    $log->notice("Lots happening");
    $log->warning("Looking dodgey");
    $log->error("Bang!");


SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

 perldoc Log::Any::Adapter::Term.

The source code is hosted on github:

 http://github.com/markpitchless/Log-Any-Adapter-Term/


COPYRIGHT AND LICENCE

Copyright (C) 2010 Mark Pitchless

This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.