Skip to content

Commit 1fb2d6c

Browse files
Review Corrections
Updating class documentation to reflect the multiple Levels available. Correcting the name of the ALWAYS type to be 'ALWAYS'.
1 parent 8590cbd commit 1fb2d6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/owasp/esapi/logging/java/ESAPICustomJavaLevel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.util.logging.Level;
1919

2020
/**
21-
* A custom logging level defined between Level.SEVERE and Level.WARNING in logger.
21+
* Definitions of customized Java Logging Level options to map ESAPI behavior to the desired Java Log output behaviors.
2222
*/
2323
public class ESAPICustomJavaLevel extends Level {
2424

@@ -33,7 +33,7 @@ public class ESAPICustomJavaLevel extends Level {
3333
/**
3434
* Defines a custom level that should result in content always being recorded, unless the Java Logging configuration is set to OFF.
3535
*/
36-
public static final Level ALWAYS_LEVEL = new ESAPICustomJavaLevel( "ERROR", Level.OFF.intValue() - 1);
36+
public static final Level ALWAYS_LEVEL = new ESAPICustomJavaLevel( "ALWAYS", Level.OFF.intValue() - 1);
3737

3838
/**
3939
* Constructs an instance of a JavaLoggerLevel which essentially provides a mapping between the name of

0 commit comments

Comments
 (0)