User:Ned Scott/Sandbox3: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
  | description =  
  | description =  
The logging level that XBMC will use to log errors and information.  Available values are:
The logging level that XBMC will use to log errors and information.  Available values are:
; -1:No logging, suppresses all log output
 
; 0:Normal logging, only logging errors (Default)
{{{!}} class="wikitable"
; 1:Debug logging
{{!}} -1 {{!!}} No logging, suppresses all log output
; 2:Debug logging with freemem, fps and cpu usage shown on screen
{{!}}-
; 3:Debug logging with freemem, fps and cpu usage and full smb logging
{{!}} 0 {{!!}} Normal logging, only logging errors (Default)
{{!}}-
{{!}} 1 {{!!}} Debug logging
{{!}}-
{{!}} 2 {{!!}} Debug logging with freemem, fps and cpu usage shown on screen
{{!}}-
{{!} 3 {{!!}} Debug logging with freemem, fps and cpu usage and full smb logging
{{!}}}


loglevel also accepts a "hide" boolean attribute.  Default value is true (old behavior), which hides the "enable debugging" guisetting.  When false, the "enable debugging" guisetting will switch between min(loglevel, 0) and max(loglevel, 2) for off and on respectively.  This is useful for chasing infrequent bugs where you may always want a debug text log, yet still be able to get at the on screen debug info without restarting the app.
loglevel also accepts a "hide" boolean attribute.  Default value is true (old behavior), which hides the "enable debugging" guisetting.  When false, the "enable debugging" guisetting will switch between min(loglevel, 0) and max(loglevel, 2) for off and on respectively.  This is useful for chasing infrequent bugs where you may always want a debug text log, yet still be able to get at the on screen debug info without restarting the app.
}}
}}

Revision as of 21:36, 7 October 2012

{{xml setting

| tag name = loglevel
| parent tag = 
| requires tag = 
| tag attribute = hide
| tag attribute type = true_false
| tag attribute values = 
| tag attribute default values = true
| option type = list
| option values = -1, 0, 1, 2, 3
| default values = 0
| example values = 
| platform = all
| XBMC version = 8-12
| description = 

The logging level that XBMC will use to log errors and information. Available values are:

{{!} 3 || Debug logging with freemem, fps and cpu usage and full smb logging
-1 No logging, suppresses all log output
0 Normal logging, only logging errors (Default)
1 Debug logging
2 Debug logging with freemem, fps and cpu usage shown on screen

loglevel also accepts a "hide" boolean attribute. Default value is true (old behavior), which hides the "enable debugging" guisetting. When false, the "enable debugging" guisetting will switch between min(loglevel, 0) and max(loglevel, 2) for off and on respectively. This is useful for chasing infrequent bugs where you may always want a debug text log, yet still be able to get at the on screen debug info without restarting the app. }}