22 Mar 2020 06:39:27 UTC
- Distribution: Log-Dispatch-Screen-Gentoo
- Module version: 0.003
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (0)
- Testers (45 / 0 / 0)
- KwaliteeBus factor: 1
- 85.00% Coverage
- License: mit
- Activity24 month
- Download (7.35KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionXSAWYERX Sawyer X
Log::Dispatch::Screen::Gentoo - Gentoo-colored screen logging output
use Log::Dispatch; my $log = Log::Dispatch->new( 'outputs' => [ [ 'Screen::Gentoo', 'min_level' => 'debug', 'stderr' => 1, 'newline' => 1, ], ], ); $log->info('Information'); $log->warning('Uh oh!'); $log->critical('No oh!');
This implements a colorful output that uses Term::GentooFunctions to print out the output.
It also works with indentation when using
One limitation this has is that there are only three colors, which means that you cannot see a difference between levels
infowhich all have a green color, or between
emergencywhich all have a red color.
At least for now.
Sawyer X <firstname.lastname@example.org>
This software is Copyright (c) 2020 by Sawyer X.
This is free software, licensed under:
The MIT (X11) License
Module Install Instructions
To install Log::Dispatch::Screen::Gentoo, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Log::Dispatch::Screen::Gentoo
For more information on module installation, please visit the detailed CPAN module installation guide.