Skip to content

Commit 8590cbd

Browse files
Documentation update
Updating Javadoc for Logger.always to state the dependency on the underlying logging implementation. If the backing logger is configured to an "OFF" equivalent then logging will likely not occur.
1 parent 5e517a2 commit 8590cbd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/org/owasp/esapi/Logger.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,8 @@ public String toString() {
401401

402402
/**
403403
* Log an event regardless of what logging level is enabled.
404+
* <br>
405+
* Note that logging will not occur if the underlying logging implementation has logging disabled.
404406
*
405407
* @param type
406408
* the type of event
@@ -412,6 +414,8 @@ public String toString() {
412414
/**
413415
* Log an event regardless of what logging level is enabled
414416
* and also record the stack trace associated with the event.
417+
* <br>
418+
* Note that logging will not occur if the underlying logging implementation has logging disabled.
415419
*
416420
* @param type
417421
* the type of event

0 commit comments

Comments
 (0)