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 29.546.099 Times

dtRdr::Logger 0.0.11

  Date Added: February 25, 2010  |  Visits: 569

dtRdr::Logger

Report Broken Link
Printer Friendly Version


Product Homepage
Download (76 downloads)

dtRdr::Logger is a Perl module for global logging. SYNOPSIS use dtRdr::Logger; L->debug($message, ...); L->info($message, ...); L->warn($message, ...); L->error($message, ...); L->fatal($message, ...); For a stacktrace: sub bar { L()->logcluck("foo"); } See Log::Log4perl for more info. ABOUT This (currently) installs a $SIG{__WARN__}, though well probably try to move away from that. import dtRdr::Logger->import(@args); Get Logger L A shortcut to return a logger object FOR YOUR NAMESPACE with an optional list of subtags. L($subtag); Example: package My::Package; my $logger = L; my $logger = L(#foo); Now $logger will log into the class log4perl.logger.My.Package.#foo. $subtag MUST start with a #. If this is omitted, it will be changed. RL A shortcut to a root-level logger. RL($tag); my $logger = RL(#foo); Now $logger which will log into the class log4perl.logger.#foo. $tag MUST start with a #. If this is omitted, it will be changed. editor Launches $ENV{THOUT_EDITOR} with a tempfile containing $string. Just a handy way to get some debugging data into an editor. dtRdr::Logger->editor($string); Or, to do lazy evaluation only when needed, pass a sub that returns a string. dtRdr::Logger->editor(sub {do_stuff_that_takes_time()}); DBG_DUMP Similar to editor, but writes to a tempfile in "/tmp/$filename". DBG_DUMP($ENV_NAME, $filename, sub {$content}); Only acts if $ENV{"DBG_$ENV_NAME"} is set. DBG_FOO=1 ./Build test ...will cause this DBG_DUMP(foo, thisfile.txt, sub {$blah}); ...to write the content of $blah to /tmp/thisfile.txt. The sub {$thing} thing is a speed hack, but that variable is big enough to make you want to open it in an editor, so... init dtRdr::Logger->init(filename => "foo");.

Requirements: No special requirements
Platforms: Linux
Keyword: Dbg Dtrdrlogger Dump Editor Env Libraries Logger Message Perl Perl Module Programming Sub
Users rating: 0/10

License: Freeware Size: 2.8 MB
DTRDR::LOGGER RELATED
Bulk Mailers  -  Easy Email Sender 4.4
Powerful email software program with easy to use wizard style interface. Multithreaded design with built in mail server. Powerful html message editor. Attachment, Html/Text message support. Import large address lists with no program....
6.54 MB  
Security Tools  -  OpenSC 0.11.3
OpenSC consists of tools and libraries and a PKCS#11 module to use smart cards and initialize blank smart cards. OpenSC project supports many commercial smart cards with filesystems, many national ID cards (read only), and some Java Card cards...
1.2 MB  
Finance  -  Events generator 3.7.7.318
The filter module "Events generator" for our data loggers (for example, Advanced Serial Data Logger) is an additional module that allows you generate internal program events and handle it with events handling modules. For example, a combination of...
1024 KB  
Word Processing  -  MTTEdit 07.12.10
MTTEdit is designed as a handy and very easy-to-use text editor that's been written in the Python programming language. Now you can make use of this editing instrument, to edit all your text files in no time at all.
 
Libraries  -  MODBUS RTU plugin 3.7.7.318
Advanced Serial Data Logger's MODBUS RTU module supports two modes: Data query - transmits queries or commands out the serial port to control or query your instruments directly; Data parsers - advanced data parser that allows you to parse,...
1.1 MB  
Modules  -  File logger 6.x-1.0
File logger is a simple module that allows developers to configure a log file from within Drupal anddumps variables to it from within a running Drupal app. Its sole function is to supportdebugging, and avoids the awkwardness of dumping variables...
10 KB  
Libraries  -  perlrpcgen 0.71
perlrpcgen is a Perl module that can generate Perl interfaces from ONC RPC interface definitions. SYNOPSIS perlrpcgen [--makefile] [--all] [--client] [--server] [--data] [--constants] [--module module] [--typemap typemap] [--fork] [--perl...
37.89 KB  
Programming  -  cbear 1.0.0.172
The 'cbear' framework is a set of libraries and common utilities for different programming languages and platforms.
675.81 KB  
Programming  -  KAKE PAD 32
Graphical text/file editor written entirely in Perl with the Perl Tk module.The text/file editor provides some advanced features that make it good for writing and debugging Perl and other types of scripts easily.Supports plugins!!
3.5 MB  
Reference  -  EnyoJS Companion 2.2.0.9
The Enyo 2 Companion is a must-have companion app for developers using the Enyo framework. The app is a dictionary of core framework features, UI controls from the layout and onyx libraries, and the Enyo globalization module. Use the "View Source"...
6 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  -  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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB