[Koha-bugs] [Bug 8190] Koha does not have a logging module
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 5 17:01:09 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8190
Dobrica Pavlinusic <dpavlin at rot13.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dpavlin at rot13.org
--- Comment #2 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
Should we also wrap warn(s) to emit debug output like this?
$SIG{__WARN__} = sub {
C4::Logger->new->debug( @_ );
}
Right now every warn in code makes patch fail QA (I know that first
hand ;-) and it seems to me it's easier to just put warn instead of
C4::Logger->new->debug( "this used to be warn" );
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list