Module eclipselink

Package org.eclipse.persistence.logging


package org.eclipse.persistence.logging
Provides a comprehensive logging API for the EclipseLink.

The main logging entry point is the SessionLog interface, which is used by the codebase to make logging calls.

Logging levels are defined in the LogLevel enum with corresponding constants in the SessionLog interface. Default logging level may be configured using eclipselink.logging.level system property.

Logging categories (name spaces) are defined in the LogCategory enum with corresponding constants in the SessionLog interface.

An abstract implementation of the SessionLog interface is available as the AbstractSessionLog class, with log message content stored in SessionLogEntry. DefaultSessionLog provides the default logger implementation.

  • Class
    Description
    Represents the abstract log that implements all the generic logging functions.
    Purpose: Default log used for the session when message logging is enabled.
    EclipseLink categories used for logging name spaces.
    The EclipseLink logging levels.
    SessionLog is the ever-so-simple interface used by EclipseLink to log generated messages and SQL.
    SessionLogEntry is a simple container object that holds all the information pertinent to an EclipseLink logging event.