Skip to content

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

Notifications You must be signed in to change notification settings

markpitchless/Log-Any-Adapter-Term

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

==========================
=  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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages