To me it is more complicated. The C4::Logger I proposed is not dependant of Koha (i.e. there is no "use C4::Module;" or "use Koha::Module;"). I think we need a Lib::Koha and a Lib::External (or Lib::Logger directly or Lib::What::Ever::Logger). 2012/6/5 Paul Poulain <paul.poulain@biblibre.com>
Le 05/06/2012 17:12, Tomas Cohen Arazi a écrit :
+1 for this good idea +1 for Koha::Logger While I agree for Koha:: namespace, I disagree for Koha::Logged.pm. We need a more granular organization of the Koha:: namespace.
Something like Koha::Tools::Logger or Koha::Internal::Logger, or whatever express that the Logger module is related to internals of Koha.
Reminder : there is an action_log table. A newbie could think that Koha::Logger is related to this table. (I would favour something like Koha::Database::Action_log for the table)
-- Paul POULAIN http://www.biblibre.com Expert en Logiciels Libres pour l'info-doc Tel : (33) 4 91 81 35 08 _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/