apache / logging-log4j-kotlin

A Kotlin-friendly interface to log against the Log4j API
https://logging.apache.org/log4j/kotlin
Apache License 2.0
46 stars 12 forks source link

Add a type-safe Kotlin configuration builder API #47

Open jvz opened 1 year ago

jvz commented 1 year ago

Using the functionality in https://kotlinlang.org/docs/type-safe-builders.html it should be fairly straightforward to make a Kotlin-specific DSL similar to the ConfigurationBuilder Java API.

adwsingh commented 1 year ago

@jvz is this meant to be an issue in https://github.com/apache/logging-log4j-kotlin ?

jvz commented 1 year ago

This could end up there, yeah.

jvz commented 1 year ago

@jvz is this meant to be an issue in https://github.com/apache/logging-log4j-kotlin ?

Good idea. Transferred.

rocketraman commented 1 year ago

Is this a dup of https://github.com/apache/logging-log4j-kotlin/issues/36 or vice-versa?

ppkarwasz commented 1 year ago

@rocketraman,

36 is about the LogBuilder interface, this issue is about ConfigurationBuilder.

rocketraman commented 1 year ago

@rocketraman,

36 is about the LogBuilder interface, this issue is about ConfigurationBuilder.

Thanks for the clarification.