User:Ned Scott/Sandbox3: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
  | option type = list
  | option type = list
  | option values =  
  | option values =  
{{{!}} class="wikitable"
{{option values
{{!}} -1 {{!!}} No logging, suppresses all log output
| value1= -1 | value1 description= No logging, suppresses all log output
{{!}}-
| value2= 0 | value2 description= Normal logging, only logging errors (Default)
{{!}} 0 {{!!}} Normal logging, only logging errors (Default)
| value3= 1 | value3 description= Debug logging
{{!}}-
| value4= 2 | value4 description= Debug logging with freemem, fps and cpu usage shown on screen
{{!}} 1 {{!!}} Debug logging
| value5= 3 | value5 description= Debug logging with freemem, fps and cpu usage and full smb 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
{{!}}}
  | default values = 0
  | default values = 0
  | example values =  
  | example values =  
Line 27: Line 23:
The logging level that XBMC will use to log errors and information.
The logging level that XBMC will use to log errors and information.


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.
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:11, 7 October 2012

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

The logging level that XBMC will use to log errors and information.

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:

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

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