[
https://issues.apache.org/jira/browse/LOG4J2-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15243034#comment-15243034
]
Mikael Ståldal commented on LOG4J2-1365:
----------------------------------------
{code}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile
(default-testCompile) on project log4j-api: Compilation failure: Compilation
failure:
[ERROR] for a non-varargs call and to suppress this warning
[ERROR]
/home/mikes/Dev/logging-log4j2/log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java:[168,15]
error: reference to isEnabled is ambiguous
[ERROR] both method isEnabled(Level,Marker,Message,Throwable) in
AbstractLoggerTest and method isEnabled(Level,Marker,CharSequence,Throwable) in
AbstractLoggerTest match
[ERROR]
/home/mikes/Dev/logging-log4j2/log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java:[179,15]
error: reference to isEnabled is ambiguous
[ERROR] both method isEnabled(Level,Marker,Message,Throwable) in
AbstractLoggerTest and method isEnabled(Level,Marker,CharSequence,Throwable) in
AbstractLoggerTest match
[ERROR]
/home/mikes/Dev/logging-log4j2/log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java:[258,15]
error: reference to isEnabled is ambiguous
{code}
> 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: [email protected]
For additional commands, e-mail: [email protected]