Skip to content
  • sikeda's avatar
    [dev] Improvement to Log::do_log(). · c1dd78e1
    sikeda authored
    - Log::do_log() can handle object arguments.  If a parameter value is blessed and implements method named get_id(), its result is used.
    - 'err' log outputs simple tracebak but line numbers and sub routine names were lagged.  Fixed.
    - Logs will be output to STDERR while syslog has not been setup.  So, Log::do_log() may be used instead of "print STDERR" in Conf.pm.
    
    As a side effect, wwsympa::wwslog() slides into Log::do_log() not consuming call stack.
    
    
    git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10746 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
    c1dd78e1