Kodi Community Forum
Service Add-ons page uses deprecated level=xbmc.LOGNOTICE - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Wiki (https://forum.kodi.tv/forumdisplay.php?fid=262)
+--- Thread: Service Add-ons page uses deprecated level=xbmc.LOGNOTICE (/showthread.php?tid=363998)



Service Add-ons page uses deprecated level=xbmc.LOGNOTICE - pir8pnk - 2021-08-15

Hey, the "Service Add-ons" page on the wiki (https://kodi.wiki/view/Service_add-ons) uses 
python:
xbmc.log("hello addon! %s" % time.time(), level=xbmc.LOGNOTICE)
in the example. This gives an error on Kodi 19 (Matrix). I believe this should be updated to use 
python:
xbmc.log("hello addon! %s" % time.time(), level=xbmc.LOGINFO)
instead, or could at least use a note pointing out that LOGNOTICE is deprecated.

Cheers!


RE: Service Add-ons page uses deprecated level=xbmc.LOGNOTICE - ronie - 2021-08-15

i've updated the page, thanx for the heads-up!