pjfanning commented on PR #3263:
URL: https://github.com/apache/pekko/pull/3263#issuecomment-4826733755
Actually, the javadoc says
```
/**
* Message template with 1 replacement argument.
* The marker argument can be picked up by various logging frameworks such
as slf4j to mark this log statement as "special".
*
* If `arg1` is an `Array` it will be expanded into replacement arguments,
which is useful when
* there are more than four arguments.
* @see [[LoggingAdapter]]
*/
def error(marker: LogMarker, cause: Throwable, template: String, arg1:
Any): Unit =
if (isErrorEnabled(marker)) bus.publish(Error(cause, logSource,
logClass, format1(template, arg1), mdc, marker))
```
So your change is probably correct.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]