Skip to content

Commit 9e2ceaf

Browse files
Tyler Pottertypotter
authored andcommitted
docs: mark Logging as complete, Domains as in-progress in feature table
Full logging stack (#233, #221, #220) is now merged — update Logging from ⚠️ to ✅. Domain binding (#231) is actively in development — update Domains from ❌ to ⚠️ and rewrite the section to reflect current state with a link to the OpenFeature Domains docs. Signed-off-by: Tyler Potter <tyler.john.potter@gmail.com>
1 parent 2bd38d1 commit 9e2ceaf

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ coroutineScope.launch(Dispatchers.Default) {
116116
|| [Targeting](#targeting) | Contextually-aware flag evaluation using [evaluation context](https://openfeature.dev/docs/reference/concepts/evaluation-context). |
117117
|| [Hooks](#hooks) | Add functionality to various stages of the flag evaluation life-cycle. |
118118
|| [Tracking](#tracking) | Associate user actions with feature flag evaluations. |
119-
| | [Logging](#logging) | Integrate with popular logging packages. |
120-
| | [Domains](#domains) | Logically bind clients with providers. |
119+
| | [Logging](#logging) | Integrate with popular logging packages. |
120+
| ⚠️ | [Domains](#domains) | Logically bind clients with providers. |
121121
|| [Eventing](#eventing) | React to state changes in the provider or flag management system. |
122122
|| [Shutdown](#shutdown) | Gracefully clean up a provider during application shutdown. |
123123
|| [Extending](#extending) | Extend OpenFeature with custom providers and hooks. |
@@ -213,14 +213,18 @@ Tracking is optionally implemented by Providers.
213213

214214
### Logging
215215

216-
Logging customization is not yet available in the Kotlin SDK.
216+
The Kotlin SDK includes a `LoggingHook` and a structured `Logger` interface. Pass a `Logger` implementation when constructing `LoggingHook`, then register it as a hook to capture flag evaluation events. Without a `Logger`, `LoggingHook` uses a no-op logger by default and produces no output.
217217

218-
It is possible to write and inject logging `Hook`s to log events at different stages of the flag evaluation life-cycle.
218+
```kotlin
219+
// use a platform-specific logger (Android, JVM, iOS, JS, Linux)
220+
val logger = LoggerFactory.getLogger(tag = "MyApp")
221+
OpenFeatureAPI.addHooks(listOf(LoggingHook(logger = logger)))
222+
```
219223

220224
### Domains
221225

222-
Domains allow you to logically bind clients with providers.
223-
Support for domains is not yet available in the Kotlin SDK.
226+
[Domains](https://openfeature.dev/docs/reference/concepts/domain) allow you to logically bind clients with providers, enabling multiple provider configurations within the same application.
227+
Support for domains is currently in development.
224228

225229
### Eventing
226230

0 commit comments

Comments
 (0)