|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.services.LogService
As of uPortal 2.4, use Apache Commons Logging directly instead of using this LogService. This LogService is retained here for backwards compatibility, and presumably will disappear in a future release. The LogService is a service offered by the uPortal framework whereby messages can be logged. Each uPortal deployment can customize exactly where how and how much they want logged. As of uPortal 2.4, this is accomplished by this class delegating all logging to Apache Commons Logging. The expected typical (and default) local logging configuration is to use the Logger.properties file to configure Log4J as the underlying logging implementation, to a file on disk. However, the options are endless under Log4J: you can configure it to log as XML, to log to a tree of files depending upon where the logging message is coming from and at what logging level, to send log messages over the network to a Chainsaw instance listening to your uPortal... Furthermore, you don't even have to use Log4J: Commons Logging supports JDK1.4 logging as well as the ability for you to plug in a custom logging implementation if you really want to.
Field Summary | |
static org.apache.log4j.Priority |
DEBUG
Deprecated. |
static org.apache.log4j.Priority |
ERROR
Deprecated. |
static org.apache.log4j.Priority |
INFO
Deprecated. |
static org.apache.log4j.Priority |
NONE
Deprecated. |
static org.apache.log4j.Priority |
SEVERE
Deprecated. |
static org.apache.log4j.Priority |
WARN
Deprecated. |
Method Summary | |
static LogService |
instance()
Deprecated. |
static void |
log(org.apache.log4j.Priority pLogLevel,
java.lang.String sMessage)
Deprecated. |
static void |
log(org.apache.log4j.Priority pLogLevel,
java.lang.String sMessage,
java.lang.Throwable ex)
Deprecated. |
static void |
log(org.apache.log4j.Priority pLogLevel,
java.lang.Throwable ex)
Deprecated. Log the given throwable at the given priority. |
static void |
log(java.lang.String sMessage)
Deprecated. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final org.apache.log4j.Priority NONE
public static final org.apache.log4j.Priority SEVERE
public static final org.apache.log4j.Priority ERROR
public static final org.apache.log4j.Priority WARN
public static final org.apache.log4j.Priority INFO
public static final org.apache.log4j.Priority DEBUG
Method Detail |
public static final LogService instance()
public static final void log(org.apache.log4j.Priority pLogLevel, java.lang.String sMessage)
public static final void log(org.apache.log4j.Priority pLogLevel, java.lang.Throwable ex)
pLogLevel
- - logging levelex
- - throwable to be loggedpublic static final void log(org.apache.log4j.Priority pLogLevel, java.lang.String sMessage, java.lang.Throwable ex)
public static final void log(java.lang.String sMessage)
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |