1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 10:19:41 +02:00

Rename SmackConfiguration.DEBUG_ENABLED to DEBUG

This commit is contained in:
Florian Schmaus 2015-01-18 21:33:03 +01:00
parent 672d131280
commit 440af7675a
12 changed files with 25 additions and 25 deletions

View file

@ -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: