Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-02


oracle.toplink.platform.server
Class ServerLog

java.lang.Object
  extended by oracle.toplink.logging.AbstractSessionLog
      extended by oracle.toplink.platform.server.ServerLog

All Implemented Interfaces:
java.lang.Cloneable, SessionLog
Direct Known Subclasses:
WlsLog

public class ServerLog
extends AbstractSessionLog

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, AbstractSessionLog, SessionLogEntry,


Field Summary

 

Fields inherited from interface oracle.toplink.logging.SessionLog
ALL, ALL_LABEL, CONFIG, CONFIG_LABEL, FINE, FINE_LABEL, FINER, FINER_LABEL, FINEST, FINEST_LABEL, INFO, INFO_LABEL, OFF_LABEL, SEVERE, SEVERE_LABEL, WARNING, WARNING_LABEL

 

Fields inherited from interface oracle.toplink.sessions.SessionLog
CACHE, CONNECTION, DMS, EJB, EJB_OR_METADATA, EVENT, loggerCatagories, OFF, PROPAGATION, PROPERTIES, QUERY, SEQUENCING, SERVER, SQL, TRANSACTION, WEAVER

 

Constructor Summary
ServerLog()
          Create and return a new ServerLog.

 

Method Summary
 void log(SessionLogEntry entry)
          Log a SessionLogEntry

 

Methods inherited from class oracle.toplink.logging.AbstractSessionLog
config, fine, finer, finest, getDateFormat, getDefaultLoggingLevel, getLevel, getLevel, getLevelString, getLog, getSession, getWriter, info, log, log, log, log, log, log, log, logThrowable, setDateFormat, setLevel, setLevel, setLog, setSession, setShouldLogDebug, setShouldLogExceptions, setShouldLogExceptionStackTrace, setShouldPrintConnection, setShouldPrintDate, setShouldPrintSession, setShouldPrintThread, setWriter, setWriter, severe, shouldLog, shouldLog, shouldLogDebug, shouldLogExceptions, shouldLogExceptionStackTrace, shouldPrintConnection, shouldPrintDate, shouldPrintSession, shouldPrintThread, throwing, warning

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ServerLog

public ServerLog()

Create and return a new ServerLog.

Method Detail

log

public void log(SessionLogEntry entry)

Log a SessionLogEntry

Specified by:
log in interface SessionLog
Specified by:
log in class AbstractSessionLog
Parameters:
entry - SessionLogEntry that holds all the information for a TopLink logging event

Skip navigation links

Copyright © 1998, 2009, Oracle. All Rights Reserved.