logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Deprecate entry/exit()
Date Mon, 15 Feb 2016 16:45:52 GMT
Ok, I think this will work:

deprecate enter() for traceEntry()
deprecate all exit() methods for traceExit() methods
Javadoc entry(Object...) and mention traceEntry() methods.

Gary

On Mon, Feb 15, 2016 at 8:37 AM, Ralph Goers <ralph.goers@dslextreme.com>
wrote:

> Unfortunately, all the entry and exit methods can’t be deprecated.
> entry(Object… params) is ambiguous with traceEntry(String format,
> Object…params). That, and the fact that entry(String fqcn, Object… params)
> already existed is the only reason I created the traceEntry() methods.
>
> Ralph
>
> On Feb 15, 2016, at 9:27 AM, Gary Gregory <garydgregory@gmail.com> wrote:
>
> Hi All:
>
> Should we deprecate Logger.entry() and exit() in favor of
> Logger.traceEnter() and traceExit()?
>
> Gary
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
View raw message