tegral

fun tegral(    enableLoggingOverrides: Boolean = true,     enableDefaults: Boolean = true,     block: TegralApplicationDsl.() -> Unit): TegralApplication

Starting block for creating, configuring and launching a Tegral application. This function:

  • Creates a TegralApplicationBuilder

  • Applies sane defaults to this builder

  • Runs the provided lambda in this builder.

  • Builds the application.

  • Starts the application.

  • Returns the application object.

Parameters

enableLoggingOverrides

Set to false if you customize logback's configuration yourself. Otherwise, AppDSL will configure Logback with sensible defaults.