v19 Addon Logging Deprecation: NOTICE/SEVERE levels to be deprecated by end of June '20
#1
All,

Recently Kodi 19 moved to using spdlog in its core. This meant a cleanup of the log levels kodi has had for many years. Both the NOTICE and SEVERE levels are now redundant and INFO and FATAL should now be used in their place respectively. Kodi will then use the following set of level for logging: DEBUG, INFO, WARNING, ERROR and FATAL.

Python addons only ever used the xbmc.LOGNOTICE level (SEVERE was never exposed in the API). Work is already underway to update the binary addons starting with PVR. The deprecated log levels have all been changed in Kodi in this PR: https://github.com/xbmc/xbmc/pull/17730.

NOTICE and SEVERE will deprecated from all APIs by the end of June.

As there are some python addons already in the matrix repo using xbmc.LOGNOTICE I will provide list of those on this thread later today.

Regards,

phunkyfish.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply


Messages In This Thread
Addon Logging Deprecation: NOTICE/SEVERE levels to be deprecated by end of June '20 - by phunkyfish - 2020-04-24, 09:08


Logout Mark Read Team Forum Stats Members Help
Addon Logging Deprecation: NOTICE/SEVERE levels to be deprecated by end of June '200
This forum uses Lukasz Tkacz MyBB addons.