We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 797c12e + 1e2ed8a commit 341bccbCopy full SHA for 341bccb
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/java/TestFormatter.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright 2012-2019 the original author or authors.
+ * Copyright 2012-2020 the original author or authors.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ public class TestFormatter extends Formatter {
28
29
@Override
30
public String format(LogRecord record) {
31
- return String.format("foo: %s -- %s\n", record.getLoggerName(), record.getMessage());
+ return String.format("foo: %s -- %s%n", record.getLoggerName(), record.getMessage());
32
}
33
34
0 commit comments