SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Log-Any-Adapter-Screen rpm build for : OpenSuSE. For other distributions click perl-Log-Any-Adapter-Screen.

Name : perl-Log-Any-Adapter-Screen
Version : 0.141 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.1.1 Date : 2023-11-22 06:28:31
Group : Unspecified Source RPM : perl-Log-Any-Adapter-Screen-0.141-lp155.1.1.src.rpm
Size : 0.04 MB
Packager : https://www_suse_com/
Summary : (ADOPTME) Send logs to screen, with colors and some other features
Description :
This Log::Any adapter prints log messages to screen (STDERR/STDOUT). The
messages are colored according to level (unless coloring is turned off). It
has a few other features: allow passing formatter, allow setting level from
some environment variables, add prefix/timestamps.

Parameters:

* * min_level => STRING

* * log_level => STRING

Set logging level. Default is warning. If LOG_LEVEL environment variable is
set, it will be used instead. If TRACE environment variable is set to true,
level will be set to \'trace\'. If DEBUG environment variable is set to true,
level will be set to \'debug\'. If VERBOSE environment variable is set to
true, level will be set to \'info\'.If QUIET environment variable is set to
true, level will be set to \'error\'.

Log::Any adapters use parameter \'log_level\' instead of \'min_level\'. If both
are present \'min_level\' takes precedence.

* * use_color => BOOL

Whether to use color or not. Default is true only when running
interactively (-t STDOUT returns true).

* * colors => HASH

Customize colors. Hash keys are the logging methods, hash values are colors
supported by Term::ANSIColor.

The default colors are:

method/level color
------------ -----
trace yellow
debug (none, terminal default)
info, notice green
warning bold blue
error magenta
critical, alert, emergency red

* * stderr => BOOL

Whether to print to STDERR, default is true. If set to 0, will print to
STDOUT instead.

* * formatter => CODEREF

Allow formatting message. If defined, message will be passed before being
colorized. Coderef will be passed:

($self, $message)

and is expected to return the formatted message.

The default formatter can optionally prefix the message with extra stuffs,
depending on the content of LOG_PREFIX environment variable, such as:
elapsed time (e.g. \'[0.023ms]\') if LOG_PREFIX is \'elapsed\'.

NOTE: Log::Any 1.00+ now has a proxy object which allows
formatting/customization of message before it is sent to adapter(s), so
formatting does not have to be done on a per-adapter basis. As an
alternative to this attribute, you can also consider using the proxy object
or the (upcoming?) global proxy object.

* * default_level => STR (default: warning)

If no level-setting environment variables are defined, will default to this
level.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-L/15.5/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Log-Any-Adapter-Screen-0.141-lp155.1.1.noarch.rpm
     

Provides :
perl(Log::Any::Adapter::Screen)
perl-Log-Any-Adapter-Screen

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(Log::Any)
perl(Log::Any::Adapter) >= 0.11
perl(parent)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Log
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter
/usr/lib/perl5/vendor_perl/5.26.1/Log/Any/Adapter/Screen.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Log-Any-Adapter-Screen
/usr/share/doc/packages/perl-Log-Any-Adapter-Screen/Changes
/usr/share/doc/packages/perl-Log-Any-Adapter-Screen/README
/usr/share/licenses/perl-Log-Any-Adapter-Screen
/usr/share/licenses/perl-Log-Any-Adapter-Screen/LICENSE
/usr/share/man/man3/Log::Any::Adapter::Screen.3pm.gz

 
ICM