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

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

Serving Software Downloads in 976 Categories, Downloaded 30.066.718 Times

Log::Log4perl::AutoCategorize 0.03

  Date Added: October 26, 2010  |  Visits: 520

Log::Log4perl::AutoCategorize

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 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
LOG::LOG4PERL::AUTOCATEGORIZE RELATED
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  -  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  -  GNU Classpath 0.95
GNU Classpath (essential libraries for Java) is a project to create free core class libraries for use with virtual machines and compilers for the Java programming language. GNU Classpath project includes all native methods and core classes...
6.5 MB  
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  -  C/Invoke 1.0
C/Invoke is a library for connecting to C libraries at runtime. This differs from the typical method of interfacing with C, which involves writing static definitions which are then compiled to a machine-dependant format. C/Invoke provides a...
71.68 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  -  The Freiburg Project 2.0
The Freiburg project is an infrastructure to replace shared libraries with a client/server interface. This system converts a shared library into a "service" using Unix or inet domain sockets for communication. The "service" will be usable by any...
204.8 KB  
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  -  jZeno 1.0.36
jZeno is a meta-project that integrates a collection of java open source libraries, to form a ready-to-use web development environment. jZeno is made to allow people to create web applications by using pure java development as much as possible....
31 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.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...
2.73 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