User:Ned Scott/Sandbox3: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
  | tag attribute type = true_false
  | tag attribute type = true_false
  | tag attribute values =  
  | tag attribute values =  
{{option values
| value1= true | value1 description= Hides "enable debugging" guisetting.
| value2= false | value2 description= "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.
}}
  | tag attribute default values = true
  | tag attribute default values = true
  | option type = list
  | option type = list
Line 21: Line 25:
  | XBMC version = 8-12
  | XBMC version = 8-12
  | description =  
  | description =  
The logging level that XBMC will use to log errors and information.
The logging level that XBMC will use to log errors and information. The tag attribute is optional.
 
Default value is true 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.


Example:
Example:

Revision as of 22:28, 7 October 2012

<loglevel hide="attribute">options</loglevel>

The logging level that XBMC will use to log errors and information. The tag attribute is optional.

Example:

    <loglevel hide="false">2</loglevel>

Attribute options:

true Hides "enable debugging" guisetting.
false "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.

Main options:

-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
3 Debug logging with freemem, fps and cpu usage and full smb logging