commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julius Davies <juliusdav...@gmail.com>
Subject Re: [codec] Are we ready for Codec 1.4 RC4?
Date Thu, 06 Aug 2009 15:58:09 GMT
>
> In this particular case, the array is package protected, and as such
> surely does not form part of the _public_ API?
>
> If we are not changing it to private now, perhaps we should add a
> comment to say the array will be made private in a future release?
>

Hi, Sebb,

Some users are crazy.  Scroll to bottom of
http://juliusdavies.ca/logging.html to see an example where I was the
crazy one!

<snip>
Here's the code to change Log4J's level strings:

package org.apache.log4j;
public class LevelChanger {
  public static void changeLevels() {
    Level.DEBUG.levelStr = "_";
    Level.INFO.levelStr = " ";
    Level.WARN.levelStr = "!";
    Level.ERROR.levelStr = "*";
    Level.FATAL.levelStr = "***";
  }
}
</snip>



-- 
yours,

Julius Davies
250-592-2284 (Home)
250-893-4579 (Mobile)
http://juliusdavies.ca/logging.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message