Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
New LogMessageExtractorCheck which writes out TXT report of all loggers
[yangtools.git]
/
common
/
checkstyle-logging
/
src
/
test
/
java
/
org
/
opendaylight
/
yangtools
/
checkstyle
/
CheckLoggingTestClass.java
diff --git
a/common/checkstyle-logging/src/test/java/org/opendaylight/yangtools/checkstyle/CheckLoggingTestClass.java
b/common/checkstyle-logging/src/test/java/org/opendaylight/yangtools/checkstyle/CheckLoggingTestClass.java
index ed5a1719cf24fa4d8157e7054dfea532e2e0ea2e..ba3a4da0678af9927f5c9206488600f6ce577a1b 100644
(file)
--- a/
common/checkstyle-logging/src/test/java/org/opendaylight/yangtools/checkstyle/CheckLoggingTestClass.java
+++ b/
common/checkstyle-logging/src/test/java/org/opendaylight/yangtools/checkstyle/CheckLoggingTestClass.java
@@
-25,6
+25,9
@@
public class CheckLoggingTestClass {
System.err.print(e.getMessage());
logger.debug("foo {}", "bar", e);
LOG.info("foo {} {}", e.getMessage(), e);
+ // Multi line
+ LOG.info("foo {} "
+ + "bar {}");
}
}