logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LOG4J2-1365) Add CharSequenceFormattable interface for Messages to improve performance of Layouts
Date Fri, 15 Apr 2016 12:50:25 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15242905#comment-15242905
] 

Remko Popma edited comment on LOG4J2-1365 at 4/15/16 12:49 PM:
---------------------------------------------------------------

The RingBufferLogEvent implementation should not be a problem since the {{getFormattedMessage()}}
method will only be called if {{messageText}} is not null (see the implementation of {{RingBufferLogEvent.getMessage()}}).


was (Author: remkop@yahoo.com):
The RingBufferLogEvent implementation should not be a problem since the {{getFormattedMessage()}}
method will only be called if {{messageText}} is not null (see the implementation of {{RingBufferLogEvent.getMessage()}}.

> Add CharSequenceFormattable interface for Messages to improve performance of Layouts
> ------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-1365
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1365
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Layouts
>    Affects Versions: 2.5
>            Reporter: Mikael Ståldal
>            Assignee: Mikael Ståldal
>            Priority: Minor
>
> {code}
> public interface CharSequenceFormattable {
>     CharSequence getFormattedCharSequence();
> }
> {code}
> This can be implemented by Messages where it makes sense and used by Layouts where it
makes sense.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message