DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

devel:event:info_deprecation_log

INFO_DEPRECATION_LOG

Description:
Log a call to a deprecated method, function or property
DefaultAction:
Log a warning to the debug log
Preventable:
yes
Added:
2018-06-05

This event is signalled by dbg_deprecated() in inc/infoutils.php when this method is called(usually in a deprecated method), handlers can use it to log that error, for example in an external error monitoring tool.

Passed Data

The following data is available

  • backtrace: A backtrace created by debug_backtrace(), adjusted to remove the debug functions themselves
  • alternative: (optional) A developer-provided string describing what should be used instead
  • called: a string describing what is deprecated
  • callerll: a string describing where the deprecated thing was called * file: a string describing in which file the deprecated thing was called * line'': the line number where the deprecated thing was called

See also

devel/event/info_deprecation_log.txt · Last modified: 2019-02-28 22:25 by grosse