[dokuwiki] Re: dbglog deprecated, but I don't understand what replaces it

  • From: Klap in <klapinklapin@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 3 Nov 2021 23:45:56 +0100

Hi Chris,

Logger is a new logging mechanism in DokuWiki.
See
https://www.dokuwiki.org/devel:logging

That is a class with more functions, please see also
https://codesearch.dokuwiki.org/xref/dokuwiki/inc/Logger.php
So you can select more precise what happens.

In the old function also an example of usage is available
https://codesearch.dokuwiki.org/xref/dokuwiki/inc/infoutils.php#440


Kind regards,
Gerrit


Op wo 3 nov. 2021 om 23:18 schreef Chris Green <cl@xxxxxxxx>

I am trying the latest development Dokuwiki from github and I'm seeing:-

    dbglog() is deprecated ... \dokuwiki\Logger should be used instead!"

OK, so dbglog() is deprecated but where/what is \dokuwiki\Logger?

--
Chris Green
·

--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: