Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


oracle.adfinternal.model.logging.logger
Interface FinerLogger

All Known Subinterfaces:
ContextualLogger, FunctionalLogger
All Known Implementing Classes:
DefaultContextualLogger, DefaultFunctionalLogger

public interface FinerLogger

This interface defines a minimum set of level-related methods to be exposed by an implementing logger, and these methods will imply as the log level to be used.

Since:
11.1.1.7.2

Field Summary
static java.util.logging.Level LEVEL
          The logging level to be implied by methods defined in this interface

 

Method Summary
 void entering(java.lang.String className, java.lang.String methodName)
          This method is normally used to log the beginning of the execution of a given method, which takes no arguments.
 void entering(java.lang.String className, java.lang.String methodName, java.lang.Object[] params)
          This method is normally used to log the beginning of the execution of a given method, which took params as its arguments.
 void exiting(java.lang.String className, java.lang.String methodName)
          This method is normally used to log the normal return from a given method, which result type is void.
 void exiting(java.lang.String className, java.lang.String methodName, java.lang.Object result)
          This method is normally used to log the normal return from a given method.
 void finer(java.lang.String message)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void finer(java.lang.String message, java.lang.Throwable error)
          Log a message at level , if and only if the logger is currently set to publish messages at that level.
 void finer(java.lang.Throwable error)
          Log a message at level , based on the given error.
 boolean isFiner()
          Confirms whether or not the logger is currently set to publish messages at level .
 void throwing(java.lang.String className, java.lang.String methodName, java.lang.Throwable error)
          This method is normally used to log the return from a given method as a result of an error being thrown.

 

Field Detail

LEVEL

static final java.util.logging.Level LEVEL
The logging level to be implied by methods defined in this interface
See Also:
Level.FINER

Method Detail

finer

void finer(java.lang.String message)
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Parameters:
message - The message to be logged

finer

void finer(java.lang.String message,
           java.lang.Throwable error)
Log a message at level , if and only if the logger is currently set to publish messages at that level.
Parameters:
message - The message to be logged
error - Error which to include relevant details from. It is up to each implementation to decide which details are relevant.

finer

void finer(java.lang.Throwable error)
Log a message at level , based on the given error. if and only if the logger is currently set to publish messages at that level.
Parameters:
error - Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.

entering

void entering(java.lang.String className,
              java.lang.String methodName)
This method is normally used to log the beginning of the execution of a given method, which takes no arguments.
Parameters:
className - Full name of the class where the subject method is defined
methodName - Name of the subject method
See Also:
ADFLogger.entering(String,String)

entering

void entering(java.lang.String className,
              java.lang.String methodName,
              java.lang.Object[] params)
This method is normally used to log the beginning of the execution of a given method, which took params as its arguments.
Parameters:
className - Full name of the class where the subject method is defined
methodName - Name of the subject method
params - The values of each of the arguments took by the subject method
See Also:
ADFLogger.entering(String,String,Object[])

exiting

void exiting(java.lang.String className,
             java.lang.String methodName)
This method is normally used to log the normal return from a given method, which result type is void.
Parameters:
className - Full name of the class where the subject method is defined
methodName - Name of the subject method
See Also:
ADFLogger.exiting(String,String)

exiting

void exiting(java.lang.String className,
             java.lang.String methodName,
             java.lang.Object result)
This method is normally used to log the normal return from a given method.
Parameters:
className - Full name of the class where the subject method is defined
methodName - Name of the subject method
result - The value returned by the subject method
See Also:
ADFLogger.exiting(String,String,Object)

throwing

void throwing(java.lang.String className,
              java.lang.String methodName,
              java.lang.Throwable error)
This method is normally used to log the return from a given method as a result of an error being thrown.
Parameters:
className - Full name of the class where the subject method is defined
methodName - Name of the subject method
error - The error which caused the subject method to fail
See Also:
ADFLogger.throwing(String,String,Throwable)

isFiner

boolean isFiner()
Confirms whether or not the logger is currently set to publish messages at level .
Returns:
true is and only if the logger is currently set to publish messages at level

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


Copyright © 1997, 2015, Oracle. All rights reserved.