[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[4073] branches/1.3/LedgerSMB



Revision: 4073
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4073&view=rev
Author:   tshvr
Date:     2011-11-25 10:46:02 +0000 (Fri, 25 Nov 2011)
Log Message:
-----------
add logger

Modified Paths:
--------------
    branches/1.3/LedgerSMB/DBObject/Employee.pm
    branches/1.3/LedgerSMB/User.pm

Modified: branches/1.3/LedgerSMB/DBObject/Employee.pm
===================================================================
--- branches/1.3/LedgerSMB/DBObject/Employee.pm	2011-11-25 10:36:58 UTC (rev 4072)
+++ branches/1.3/LedgerSMB/DBObject/Employee.pm	2011-11-25 10:46:02 UTC (rev 4073)
@@ -80,6 +80,8 @@
 
 my $ENTITY_CLASS = 3;
 
+my $logger = Log::Log4perl->get_logger('LedgerSMB::DBObject::Employee');
+
 =item set_entity_class
 
 Sets the entity class to 3.

Modified: branches/1.3/LedgerSMB/User.pm
===================================================================
--- branches/1.3/LedgerSMB/User.pm	2011-11-25 10:36:58 UTC (rev 4072)
+++ branches/1.3/LedgerSMB/User.pm	2011-11-25 10:46:02 UTC (rev 4073)
@@ -60,6 +60,8 @@
 use LedgerSMB::Auth;
 use Data::Dumper;
 
+my $logger = Log::Log4perl->get_logger('LedgerSMB::User');
+
 =item LedgerSMB::User->new($login);
 
 Create a LedgerSMB::User object.  If the user $login exists, set the fields

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.