[
https://issues.apache.org/jira/browse/LOG4J2-1807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15975084#comment-15975084
]
Gary Gregory commented on LOG4J2-1807:
--------------------------------------
Well, we do leave ourselves some wiggle room WRT BC in Core as opposed to an
API module. I think we can still discuss this issue. Also, not only is this
class in Core but it is in an "impl" package
({{org.apache.logging.log4j.core.impl.Log4jLogEvent}}) so depending on that
class in your application code is asking for it WRT to BC. All of this to say,
we can do whatever [[email protected]] suggests above (IMO).
> [core] Add and implement LogEvent.toImmutable()
> -----------------------------------------------
>
> Key: LOG4J2-1807
> URL: https://issues.apache.org/jira/browse/LOG4J2-1807
> Project: Log4j 2
> Issue Type: New Feature
> Affects Versions: 2.8.1
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Attachments: logging-log4j2.patch
>
>
> [core] Add and implement LogEvent.asImmutable()
> {code:java}
> /**
> * Returns an immutable version of this log event, which MAY BE a copy of
> this event.
> *
> * @return an immutable version of this log event
> */
> LogEvent asImmutable();
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)