Re: Alternative API for Category.log()

2012-07-06 Thread Jacob Kjome
If you are worried about said method being removed, don't worry.  But you should reference it via the Logger class.  Logger and Level replace Category and Priority.  But even if you were to reference it with the deprecated classes, you'll have no problems.  They will never be removed as Log4j-

Alternative API for Category.log()

2012-07-05 Thread Sira, Amardeep
Hi, Given that the Category and Priority classes are now deprecated, I am looking for an alternative API for "http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Category.html#log(java.lang.String, org.apache.log4j.Priority, java.lang.Object, java.lang.Throwable)