1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-30 01:48:12 -07:00

Document web socket logging.

This commit is contained in:
Cedric Beust 2017-02-09 15:13:03 -08:00
parent 603cea30e4
commit 116188fb62
2 changed files with 18 additions and 3 deletions

View file

@ -22,9 +22,7 @@ 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
* To enable websocket debugging, uncomment the "debug" <root> tag in logback.xml.
*/
class KobaltServer @Inject constructor(@Assisted val force: Boolean, @Assisted @Nullable val givenPort: Int?,
@Assisted val initCallback: (String) -> List<Project>,