Skip to content

Commit

Permalink
fix reserved world "record"
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Apr 20, 2022
1 parent c2c54de commit 9161d94
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ public MavenLogHandler(final Log log,
* {@inheritDoc}
*/
@Override
public void publish(final LogRecord record) {
public void publish(final LogRecord logRecord) {

if (this.isLoggable(record)) {
if (this.isLoggable(logRecord)) {

final Level level = record.getLevel();
final String message = prefix + getFormatter().format(record);
final Level level = logRecord.getLevel();
final String message = prefix + getFormatter().format(logRecord);

if (Level.SEVERE.equals(level)) {
log.error(message);
Expand Down

0 comments on commit 9161d94

Please sign in to comment.