1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 16:28:12 -07:00

Enable websocket debugging.

This commit is contained in:
Cedric Beust 2017-02-09 11:17:05 -08:00
parent 8deaa65a3d
commit 3c58a93d45
2 changed files with 5 additions and 3 deletions

View file

@ -21,6 +21,10 @@ import javax.annotation.Nullable
*
* The callbacks are used to initialize and clean up the state before and after each command, so that Kobalt's state
* can be properly reset, making the server reentrant.
*
* To enable websocket debugging, launch with:
* -Dorg.slf4j.simpleLogger.defaultLogLevel=debug
* More logging documentation: https://www.slf4j.org/apidocs/org/slf4j/impl/SimpleLogger.html
*/
class KobaltServer @Inject constructor(@Assisted val force: Boolean, @Assisted @Nullable val givenPort: Int?,
@Assisted val initCallback: (String) -> List<Project>,