http://bugzilla.slf4j.org/show_bug.cgi?id=135
Joern Huxhorn <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Joern Huxhorn <[email protected]> 2009-06-09 09:33:32 --- I might be missing something... but... In case of Logback, the arguments aren't converted to String right away. private final void filterAndLog_0_Or3Plus(final String localFQCN, final Marker marker, final Level level, final String msg, final Object[] params, final Throwable t) { final FilterReply decision = loggerContext .getTurboFilterChainDecision_0_3OrMore(marker, this, level, msg, params, t); if (decision == FilterReply.NEUTRAL) { if (effectiveLevelInt > level.levelInt) { return; } } else if (decision == FilterReply.DENY) { return; } buildLoggingEventAndAppend(localFQCN, marker, level, msg, params, t); } This happens in the appender implementation if needed (which is still something I don't like very much) or during serialization of the LoggingEvent, but not while creating it in buildLoggingEventAndAppend. More importantly, this only happens after the turbofilters have been executed. If this is just about wrapping an object providing a non-default toString() then I don't see the point of it, either. -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dev mailing list [email protected] http://www.slf4j.org/mailman/listinfo/dev
