[Koha-bugs] [Bug 8190] Add a logging module to Koha, that can report log message to staff interface (for developer use)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 28 13:36:45 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8190

--- Comment #49 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Hi Katrin,

Yes it is normal.
Try with : 
  my $log = C4::Context->logger;

the constructor Koha::Utils::Logger->new takes a level parameter. If it does
not exist, the normal level is used.

C4::Context->logger uses the level from the syspref LogLevel.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list