[ https://jira.qos.ch/browse/SLF4J-124?page=com.atlassian.jira.plugin.system.… ]
Dan Lipofsky commented on SLF4J-124:
------------------------------------
This is the 2nd most voted for issue (technically 3rd but the first 2 are really duplicates) and it seems it would be easy to implement. Pretty please?
> Add ability to log at a dynamic level
> -------------------------------------
>
> Key: SLF4J-124
> URL: https://jira.qos.ch/browse/SLF4J-124
> Project: SLF4J
> Issue Type: Sub-task
> Components: Core API
> Affects Versions: 1.5.x
> Environment: Operating System: All
> Platform: All
> URL: http://stackoverflow.com/questions/2621701/setting-log-level-of-message-at-…
> Reporter: Robert Elliot
> Assignee: SLF4J developers list
> Attachments: Util.java.patch
>
>
> It is occasionally useful to have a log method that takes a level as a parameter. The necessary methods can be added to the Util class without any compatibility issues as far as I can see - see attached patch.
--
This message was sent by Atlassian JIRA
(v7.3.1#73012)
Claude Brisson created SLF4J-459:
------------------------------------
Summary: MDC to return previous values
Key: SLF4J-459
URL: https://jira.qos.ch/browse/SLF4J-459
Project: SLF4J
Issue Type: Improvement
Components: Core API
Affects Versions: 1.8.0-beta4
Environment: The put(key, value) method in MDC and MDCAdapter could easily return the previously stored value, or null if not found, since this value is returned by the underlying map.
Plus, the change is fully backward compatible.
This addition eases the implementation of stackable contexts by client applications, without the need of an additional map lookup to fetch the current MDC key value for latter restoration when the client context is popped up.
Reporter: Claude Brisson
Assignee: SLF4J developers list
--
This message was sent by Atlassian JIRA
(v7.3.1#73012)
Hi Ceki
I prepared the branch for slf4j 2.0. I cannot make a PR that targets a
non existing branch: can you make one?
Code is available at https://github.com/ffissore/slf4j/tree/2.0.0-SNAPSHOT
I've replaced occurrences of java 1.5 and 1.6 to 1.8 and I've included
slf4j fluent
Let me know what you think
federico