Skip to content

Instantly share code, notes, and snippets.

@AidanDelaney
Created July 18, 2012 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AidanDelaney/3138235 to your computer and use it in GitHub Desktop.
Save AidanDelaney/3138235 to your computer and use it in GitHub Desktop.
log4j documentation patch
Index: src/main/java/org/apache/log4j/Category.java
===================================================================
--- src/main/java/org/apache/log4j/Category.java (revision 1363045)
+++ src/main/java/org/apache/log4j/Category.java (working copy)
@@ -558,6 +558,9 @@
/**
Returns the assigned {@link Level}, if any, for this Category.
+ The level may be <code>null</code> in which case the <i>effective</i>
+ level is derived from the hierarchy. You may prefer to
+ {@link #getEffectiveLevel}.
@return Level - the assigned Level, can be <code>null</code>.
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment