File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
src/main/java/org/log4mongo Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 26
26
* classes must implement append(DBObject) to store the BSON representation of a LoggingEvent.
27
27
* <p>
28
28
* An example BSON structure for a single log entry is as follows:
29
- * <p>
29
+ * </ p>
30
30
*
31
31
* <pre>
32
32
* {
73
73
* "className" : "NativeMethodAccessorImpl"
74
74
* }
75
75
* },
76
- * ... 8< ...
76
+ * ...
77
77
* ]
78
78
* },
79
79
* {
89
89
* "className" : "TestMongoDbAppender"
90
90
* }
91
91
* },
92
- * ... 8< ...
92
+ * ...
93
93
* ]
94
94
* }
95
95
* ]
Original file line number Diff line number Diff line change @@ -46,10 +46,11 @@ public void initTopLevelProperties() {
46
46
}
47
47
48
48
/**
49
- * This will handle spaces and empty values A = minus- & C=equals= & E==F For XML, must escape
50
- * (&)
49
+ * This will handle spaces and empty values A = minus- @amp; C=equals= @amp; E==F
50
+ * For XML, must escape the ampersand.
51
51
*
52
52
* @param rootLevelProperties
53
+ * key=value list of elements to be added to the root level log
53
54
*/
54
55
public void setRootLevelProperties (String rootLevelProperties ) {
55
56
for (String keyValue : rootLevelProperties .split (" *& *" )) {
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ public void setHostname(final String hostname) {
186
186
}
187
187
188
188
/**
189
- * @return The port of the MongoDB server <i>(will be > 0)</i>.
189
+ * @return The port of the MongoDB server <i>(will be greater than 0)</i>.
190
190
*/
191
191
public String getPort () {
192
192
return port ;
You can’t perform that action at this time.
0 commit comments