mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-09 18:29:45 +02:00
Rename SmackConfiguration.DEBUG_ENABLED to DEBUG
This commit is contained in:
parent
672d131280
commit
440af7675a
12 changed files with 25 additions and 25 deletions
|
@ -11,7 +11,7 @@ Debugging mode can be enabled in two different ways:
|
|||
|
||||
1. Add the following line of code **before** creating new connections:
|
||||
|
||||
`XMPPConnection.DEBUG_ENABLED = true;`
|
||||
`SmackConfiguration.DEBUG = true;`
|
||||
|
||||
2. Set the Java system property `smack.debugEnabled` to true. The system property can be set on the command line such as:
|
||||
|
||||
|
@ -21,7 +21,7 @@ If you wish to explicitly disable debug mode in your application, including
|
|||
using the command-line parameter, add the following line to your application
|
||||
before opening new connections:
|
||||
|
||||
`XMPPConnection.DEBUG_ENABLED = false;`
|
||||
`SmackConfiguration.DEBUG = false;`
|
||||
|
||||
Smack uses the following logic to decide the debugger console to use:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue