logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gulcu <c...@qos.ch>
Subject Re: will there be a parameterized message in log4j like it is in slf4j?
Date Sun, 04 Oct 2009 19:34:22 GMT

Scott Deboy wrote:
> What would be the impact of changing slf4j logging signatures to accept 
> object instead of string?

Interesting question. The compiler would no longer be able to disambiguate SLF4J 
methods calls. For example, the following call logger.debug(marker, msg) would 
match both Logger.debug(Object, Object) as well as Logger.debug(Marker, Object).

Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message