Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 49.481.320 Times

Log::Log4perl::AutoCategorize 0.03

  Date Added: October 26, 2010  |  Visits: 793

Log::Log4perl::AutoCategorize

Report Broken Link
Printer Friendly Version


Product Homepage
Download (89 downloads)



Log::Log4perl::AutoCategorize - extended Log::Log4perl logging. ABSTRACT Log::Log4perl::AutoCategorize extends Log::Log4perls (l4p) easy mode, adding 2 main features; 1. extended, automatic, transparent categorization capabilities a. logging category <- package.subroutine.loglevel.linenumber 2. runtime information useful for: a. test-coverage assessment b. managing your logging config. 3. Minor convenience enhancements a. config-load in use statement b. Data::Dumper of ref args There are several more mature alternatives which you should check out for comparison; #1. search for Stealth Loggers in base POD use Log::Log4perl qw(:easy); #2. new functionality, developed at approx same time as AutoCategorize use Log::Log4perl::Filter; SYNOPSIS use Log::Log4perl::AutoCategorize ( alias => Logger, # shorthand class-name alias # you can initialize in use statement # 1st way gives separation of code from config # 2nd way is good for demonstration and early development initfile => $filename, initstr => q{ # see Log4perl docs to understand these directives log4perl.rootLogger=DEBUG, A1 # log4perl.appender.A1=Log::Dispatch::Screen log4perl.appender.A1 = Log::Dispatch::File log4perl.appender.A1.filename = ./mylog log4perl.appender.A1.mode = write log4perl.appender.A1.layout = PatternLayout log4perl.appender.A1.layout.ConversionPattern=%d %c %m%n # create TEST-COVERAGE log log4perl.appender.COVERAGE = Log::Dispatch::File log4perl.appender.COVERAGE.mode = write log4perl.appender.COVERAGE.layout = org.apache.log4j.PatternLayout log4perl.appender.COVERAGE.layout.ConversionPattern = (%d{HH:mm:ss.SSS}) %c: %m%n # save timestamped versions, 1 per process log4perl.appender.COVERAGE.filename = sub {"./test-coverage.txt.". scalar localtime} # now, add the value: send the stuff written at END to it log4perl.logger.Log.Log4perl.Autocategorize.END = INFO, COVERAGE }, ); foreach (1..500) { Logger->warn($_); foo(); A->bar(); A::bar(); } sub foo { foreach (1..20) { Logger->warn($_); } } package A; sub bar { my @d; foreach (reverse 1..10) { push @d, $_; Logger->warn("t-minus:", $_,@d); } }.

Requirements: No special requirements
Platforms: Linux
Keyword: Autocategorize Extended Libraries Programming
Users rating: 0/10

License: Freeware Size: 40.96 KB
USER REVIEWS
More Reviews or Write Review


LOG::LOG4PERL::AUTOCATEGORIZE RELATED
Libraries  -  Regexp::Extended 0.01
Regexp::Extended is a Perl wrapper that extends the re module with new features. SYNOPSIS use Regexp::Extended qw(:all); # (? ...): named parameters $date =~ /(? d+)-(? d+)-(? d+)/; if ("2002-10-30" =~ /$date/) { print "The date is...
5.12 KB  
Libraries  -  Net::Cisco::AccessList::Extended 0.03
Net::Cisco::AccessList::Extended is a Perl module to generate Cisco extended access-lists. SYNOPSIS use Net::Cisco::AccessList::Extended; my $l = Net::Cisco::AccessList::Extended->new(INCOMING_LIST); $l->push({ access => permit, proto =>...
7.17 KB  
Libraries  -  Extended C++ Callback Library 0.0.6
Extended C++ Callback Library provides functors and delegates for up to ten parameters. Some callback "containers" will make life easier in special cases. For example, with DelegateList, you are able to execute all callbacks with a single call....
532.48 KB  
Libraries  -  Extended Universal Resource Library 0.2
Extended Universal Resource Library is a pure Java library for cleaner, more flexible file access in Java. How data is stored is completely transparent to the client, since the library is meant to replace java.io.File. It provides...
327.68 KB  
Libraries  -  xflat 0.1.5
eXtended FLAT (XFLAT) is a binary format that supports dynamic shared libraries on MMU-less Linux (uClinux) platforms. XFLAT is a mature suite of development tools including compiler, dynamic loader, loader, linker and support tools. Configure...
3.1 MB  
Libraries  -  DAEMon Raco Libraries 0.3
DAEMon Raco Libraries (DRLibs) is a collection of useful functions, objects, and routines for C++. Whats New in This Release: - This release adds new libraries to manage object lists: doublelist.dr.h, simplelist.dr.h, and sortedlist.dr.h..
28.67 KB  
Libraries  -  Adobe Source Libraries 1.0.29
The Adobe Source Libraries (ASL) are a collection of C++ libraries building foundation technology to allow the construction of commercial applications by assembling generic algorithms through declarative descriptions. Whats New in This Release:...
8.2 MB  
Libraries  -  Ham Radio Control Libraries 1.2.6.2
Ham Radio Control Libraries is a development effort to provide a consistent interface for programmers wanting to incorporate radio control in their programs. Hamlib is not a complete user application, rather, it is a software layer intended to...
1.4 MB  
Libraries  -  PoJoe Component Libraries 1.1
PoJoe Component Libraries project is a set of Java POJO components, originally developed for OSMQ. Developers have found these components useful in building robust enterprise applications. Of note are: a FIFO queue that utilizes memory until a...
890.88 KB  
Libraries  -  Gnome Devtool Libraries 0.7.0
Gnome Devtool Libraries project contains components and libraries that are intended to be shared between GNOME development tools, including gnome-debug, gnome-build, and anjuta2. The current pieces of GDL include: - A symbol browser bonobo...
583.68 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB