CommandLine

NAME

Log::Async::CommandLine

SYNOPSIS

use Log::Async::CommandLine;
./someprogram [--trace]
                  [--debug]
                  [--info | -v]
                  [--warning]  # Default
                  [--error]
                  [--fatal]
                  [--silent | -q]
./someprogram [--logcolor] # Colorize log output
./someprogram [--logthreadid] # Include thread id in log msg
./someprogram [--logfile=/var/log/mylogfile]

DESCRIPTION

A tiny wrapper around Log::Async to set some basic logging configuration stuff from the commandline.

It will log either to $*OUT or the specified logfile messages with a level >= the specified level (or warning by default).

Adding the '--logcolor' option will colorize the log output a little.

Adding '--logthreadid' will include the thread id in the logged message.

Log::Async v0.0.17

Asynchronous logging with supplies and taps

Authors

  • Brian Duggan

License

Artistic-1.0-Perl

Dependencies

Terminal::ANSI

Test Dependencies

Provides

  • Log::Async
  • Log::Async::CommandLine
  • Log::Async::Context

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.