| java.lang.Object oracle.toplink.essentials.logging.AbstractSessionLog oracle.toplink.essentials.platform.server.ServerLog
ServerLog | public class ServerLog extends AbstractSessionLog (Code) | |
Basic logging class that provides framework for integration with the application
server log. This class is used when messages need to be logged through an application
server, e.g. OC4J.
See Also: SessionLog See Also: AbstractSessionLog See Also: SessionLogEntry See Also: Session See Also: |
Constructor Summary | |
public | ServerLog() PUBLIC:
Create and return a new ServerLog. |
ServerLog | public ServerLog()(Code) | | PUBLIC:
Create and return a new ServerLog.
|
basicLog | protected void basicLog(int level, String message)(Code) | |
Log message to a writer by default. It needs to be overridden by the subclasses.
Parameters: level - the log request level Parameters: message - the formatted string message
|
log | public void log(SessionLogEntry entry)(Code) | | PUBLIC:
Log a SessionLogEntry
Parameters: entry - SessionLogEntry that holds all the information for a TopLink logging event |
Methods inherited from oracle.toplink.essentials.logging.AbstractSessionLog | protected DateFormat buildDefaultDateFormat()(Code)(Java Doc) protected void buildSessionHashCode()(Code)(Java Doc) protected void buildSessionType()(Code)(Java Doc) public Object clone()(Code)(Java Doc) public void config(String message)(Code)(Java Doc) public void fine(String message)(Code)(Java Doc) public void finer(String message)(Code)(Java Doc) public void finest(String message)(Code)(Java Doc) protected String formatMessage(SessionLogEntry entry)(Code)(Java Doc) protected String getConnectionString(Accessor connection)(Code)(Java Doc) public DateFormat getDateFormat()(Code)(Java Doc) protected String getDateString(Date date)(Code)(Java Doc) public int getLevel()(Code)(Java Doc) public int getLevel(String category)(Code)(Java Doc) public static SessionLog getLog()(Code)(Java Doc) public Session getSession()(Code)(Java Doc) protected String getSessionString(Session session)(Code)(Java Doc) protected String getSessionString()(Code)(Java Doc) protected String getSupplementDetailString(SessionLogEntry entry)(Code)(Java Doc) protected String getThreadString(Thread thread)(Code)(Java Doc) public Writer getWriter()(Code)(Java Doc) public void info(String message)(Code)(Java Doc) public boolean isOff()(Code)(Java Doc) public void log(int level, String message)(Code)(Java Doc) public void log(int level, String message, Object param)(Code)(Java Doc) public void log(int level, String message, Object param1, Object param2)(Code)(Java Doc) public void log(int level, String message, Object param1, Object param2, Object param3)(Code)(Java Doc) public void log(int level, String message, Object[] params)(Code)(Java Doc) public void log(int level, String message, Object[] params, boolean shouldTranslate)(Code)(Java Doc) abstract public void log(SessionLogEntry sessionLogEntry)(Code)(Java Doc) public void logThrowable(int level, Throwable throwable)(Code)(Java Doc) protected void printPrefixString(int level)(Code)(Java Doc) public void setDateFormat(DateFormat dateFormat)(Code)(Java Doc) public void setLevel(int level)(Code)(Java Doc) public void setLevel(int level, String category)(Code)(Java Doc) public static void setLog(SessionLog sessionLog)(Code)(Java Doc) public void setSession(Session session)(Code)(Java Doc) public void setShouldLogExceptionStackTrace(boolean shouldLogExceptionStackTrace)(Code)(Java Doc) public void setShouldPrintConnection(boolean shouldPrintConnection)(Code)(Java Doc) public void setShouldPrintDate(boolean shouldPrintDate)(Code)(Java Doc) public void setShouldPrintSession(boolean shouldPrintSession)(Code)(Java Doc) public void setShouldPrintThread(boolean shouldPrintThread)(Code)(Java Doc) public void setWriter(Writer writer)(Code)(Java Doc) public void severe(String message)(Code)(Java Doc) public boolean shouldLog(int level)(Code)(Java Doc) public boolean shouldLog(int level, String category)(Code)(Java Doc) public boolean shouldLogExceptionStackTrace()(Code)(Java Doc) public boolean shouldPrintConnection()(Code)(Java Doc) public boolean shouldPrintDate()(Code)(Java Doc) public boolean shouldPrintSession()(Code)(Java Doc) public boolean shouldPrintThread()(Code)(Java Doc) public void throwing(Throwable throwable)(Code)(Java Doc) public static String translateLoggingLevelToString(int loggingLevel)(Code)(Java Doc) public static int translateStringToLoggingLevel(String loggingLevel)(Code)(Java Doc) public void warning(String message)(Code)(Java Doc)
|
|
|