[
https://issues.apache.org/jira/browse/LOG4J2-2639?focusedWorklogId=265426&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-265426
]
ASF GitHub Bot logged work on LOG4J2-2639:
------------------------------------------
Author: ASF GitHub Bot
Created on: 23/Jun/19 18:19
Start Date: 23/Jun/19 18:19
Worklog Time Spent: 10m
Work Description: rgoers commented on issue #284: LOG4J2-2639 - Allow
logging calls to be constructed using a builder pattern
URL: https://github.com/apache/logging-log4j2/pull/284#issuecomment-504775111
Calling log twice on the same LogBuilder would result in 2 identical log
messages, other than the timestamp.
We could easily add the current thread id to DefaultLogBuilder to verify it
is only used on a single thread but is it worth the overhead of checking that
on every method call?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 265426)
Time Spent: 1h 20m (was: 1h 10m)
> Allow log event to be created using the builder pattern.
> --------------------------------------------------------
>
> Key: LOG4J2-2639
> URL: https://issues.apache.org/jira/browse/LOG4J2-2639
> Project: Log4j 2
> Issue Type: Task
> Components: API
> Affects Versions: 3.0.0
> Reporter: Ralph Goers
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> In some cases it would be convenient to create log events using a builder
> pattern. One advantage of this approach is that it would allow the location
> information to be more easily provided.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)