Skip to content

Commit ebaa6bd

Browse files
Benjamin Boyleandreasprlic
authored andcommitted
/* BioJava Logging Usage Policy */
1 parent 67bdd63 commit ebaa6bd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

wiki/BioJava3_logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BioJava Logging Usage Policy
1616
avoided and toString() is not called if the logging statement is
1717
filtered.
1818
- Meaning if logging level is set to INFO, then all strings in
19-
any debug statements will not be concatenated/toString()’d
19+
any DEBUG statements will not be concatenated/toString()’d
2020
- Also, calls to `isDebugEnabled()` or DEBUG constant is not
2121
necessary and redundant
2222
- Enhances readability/conciseness

wiki/BioJava3_logging.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*** Note, use current (this) class’ name
99
* Use SLF4J substitution pattern (<code>‘{}’</code>)
1010
** Most importantly, for efficiency. String concatenation is avoided and toString() is not called if the logging statement is filtered.
11-
*** Meaning if logging level is set to INFO, then all strings in any debug statements will not be concatenated/toString()’d
11+
*** Meaning if logging level is set to INFO, then all strings in any DEBUG statements will not be concatenated/toString()’d
1212
*** Also, calls to <code>isDebugEnabled()</code> or DEBUG constant is not necessary and redundant
1313
** Enhances readability/conciseness
1414
** Example: <code>logger.info("Protein Sequence: {}, Peptide Properties: {}", pSequence.getAccession(), peptide.getIsoelectricPoint(pSequence));</code>

0 commit comments

Comments
 (0)