Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: SLF4J-504 Add functional logging methods #253

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alekseytomin
Copy link

In kotlin we want to use
logger.trace { "Message with $parameter" }
instead of
logger.trace("Message with {}", parameter)

In this example, I've added trace method for this.
If it OK I will add all other methods.

@alekseytomin alekseytomin changed the title WIP: Add functional logging methods WIP: SLF4J-504 Add functional logging methods Dec 3, 2020
@twwwt
Copy link

twwwt commented Dec 3, 2020

An extension of the API with Supplier-based creation of message texts to log would not only be useful for Kotlin developers, IMHO. Java developers could also take advantage of that. Pull request #252 (and others?) proposes something very similar.

@Tibor17
Copy link

Tibor17 commented Feb 7, 2021

This is incredible! A worldwide used library but the project is idle for over one year. Beta and alfa versions have been released for the 1.8.x and 2.0 versions and no more progress. Is it a dead project?

@victorherraiz-santander

This is quite useful and could have and with the default implementation does not break a thing..., I hope this will reach master soon.

@ceki
Copy link
Member

ceki commented Feb 15, 2022

given that the fluent API accomplishes the same, this change will not be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants