File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1- <addon id =" script.module.xbmcswift2" name =" xbmcswift2" provider-name =" Jonathan Beluch (jbel), enen92" version =" 19.0.0 " >
1+ <addon id =" script.module.xbmcswift2" name =" xbmcswift2" provider-name =" Jonathan Beluch (jbel), enen92" version =" 19.0.1 " >
22 <requires >
33 <import addon =" xbmc.python" version =" 3.0.0" />
44 </requires >
99 <license >GPL-3.0</license >
1010 <summary lang =" en_GB" >xbmcswift2 is a small framework to ease development of KODI addons.</summary >
1111 <description lang =" en_GB" >xbmcswift2 is a small framework to ease development of KODI addons.</description >
12+ <news >Remove LOGSEVERE and LOGNOTICE log levels to comply to https://github.com/xbmc/xbmc/pull/18346</news >
1213 <assets >
1314 <icon >icon.png</icon >
1415 </assets >
Original file line number Diff line number Diff line change 2323
2424
2525class XBMCFilter (object ):
26- '''A logging filter that streams to STDOUT or to the xbmc log if
27- running inside XBMC .
26+ '''A logging filter that streams to STDOUT or to the kodi log if
27+ running inside KODI .
2828 '''
2929 python_to_xbmc = {
3030 'DEBUG' : 'LOGDEBUG' ,
31- 'INFO' : 'LOGNOTICE ' ,
31+ 'INFO' : 'LOGINFO ' ,
3232 'WARNING' : 'LOGWARNING' ,
3333 'ERROR' : 'LOGERROR' ,
34- 'CRITICAL' : 'LOGSEVERE ' ,
34+ 'CRITICAL' : 'LOGFATAL ' ,
3535 }
3636
3737 xbmc_levels = {
3838 'LOGDEBUG' : 0 ,
3939 'LOGINFO' : 1 ,
40- 'LOGNOTICE' : 2 ,
41- 'LOGWARNING' : 3 ,
42- 'LOGERROR' : 4 ,
43- 'LOGSEVERE' : 5 ,
44- 'LOGFATAL' : 6 ,
45- 'LOGNONE' : 7 ,
40+ 'LOGWARNING' : 2 ,
41+ 'LOGERROR' : 3 ,
42+ 'LOGFATAL' : 4 ,
43+ 'LOGNONE' : 5 ,
4644 }
4745
4846 def __init__ (self , prefix ):
You can’t perform that action at this time.
0 commit comments