Skip to content

kotlin-logging version 4.x: breaking changes #264

@oshai

Description

@oshai

As part of a revamp to the library I am considering some breaking changes, or api's that should be added / removed:

  • remove slf4j from the jvm signature (ie, will not implement slf4j Logger interface) and replace is with similar KLogger interface.
  • do we need to add fluent logging support?
  • change artifact name for jvm version to allow split: slfj/log4j/android etc'.
  • remove api of mu.KLoggable in favour of KotlinLogging.logger {}
    about 5k refs at: https://github.com/search?q=%22mu.KLogging%22&type=code
  • do we need inline of logging methods?

I am basically considering two conflicting approaches

  • keep the lib slf4j compliant.
  • allow better multiplatform/android support.

Related issues: #122 #34 #228

Any feedback is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions