read

fun read(logger: Logger, property: (String) -> String? = System::getProperty, environment: (String) -> String? = System::getenv): DebugState(source)

The categories asked for, reporting any name that does not exist through logger.

Parameters

property

how the system property is read, injected so this is testable without mutating the JVM's own properties.