ApplicationMode

Represents the application runtime mode with distinct behaviors for development and production.

Author

LesterE

Since

1.0.0

Entries

Link copied to clipboard
@SerialName(value = "development")
DEVELOPMENT
Link copied to clipboard
@SerialName(value = "production")
PRODUCTION

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Default minimum log level for this mode

Link copied to clipboard

Default async queue capacity

Link copied to clipboard
abstract val enableConsole: Boolean

Whether to output logs to console

Link copied to clipboard
abstract val enableFile: Boolean

Whether to output logs to file

Link copied to clipboard

Whether to enable introspection routes (analysis, reflex)

Link copied to clipboard
abstract val enableLogback: Boolean

Whether to use Logback for output

Link copied to clipboard
abstract val enableMasking: Boolean

Whether to mask sensitive data

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
abstract val format: LogFormat

Log output format

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

How to display stack traces

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.