Take a look of log4j and more specific to
Log::Log4perl (which is a pure perl port of log4j)

http://logging.apache.org/log4j/docs/index.html

 --- Lars Oeschey <[EMAIL PROTECTED]> a �crit : > Hi,
> 
> usually I implement some type of logging in my
> scripts. Until now, I
> used to have some variable $log, and if it's set, I
> have print
> statements to it, like
> 
> if ($log) {print LOG "something"}
> 
> To do this for everthing woth logging, it's quite
> some typing to do, and
> I'm wondering if there's a easier way to switch
> logging on/off, without
> that many "if ($log) {print}"?
> 
> Lars
> 
> 
> _______________________________________________
> ActivePerl mailing list
> [EMAIL PROTECTED]
> To unsubscribe:
http://listserv.ActiveState.com/mailman/mysubs 

__________________________________________________________
L�che-vitrine ou l�che-�cran ?
magasinage.yahoo.ca
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to