Changeset 1053


Ignore:
Timestamp:
06/21/12 08:22:41 (12 years ago)
Author:
nanardon
Message:
  • fix pod
  • avoid warnings when using undef value in sprintf in Log module
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Log.pm

    r1018 r1053  
    7373sub LA_CRIT { LOG_CRIT } # critical conditions 
    7474 
    75 =item LA_ERR 
    76 =item LA_ERROR 
     75=item LA_ERR, LA_ERROR 
    7776 
    7877=cut 
     
    8180sub LA_ERROR { LA_ERR } # Alias for ERR 
    8281 
    83 =item LA_WARN 
    84 =item LA_WARNING 
     82=item LA_WARN, LA_WARNING 
    8583 
    8684=cut 
     
    174172sub la_log { 
    175173    my ($level, $msg, @args) = @_; 
     174    no warnings 'printf'; 
    176175    $lastmessages{$level} = sprintf($msg, @args); 
    177176    if ($log_method{syslog}) { 
Note: See TracChangeset for help on using the changeset viewer.