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 WarningLogger

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

public interface WarningLogger

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
 boolean isWarning()
          Confirms whether or not the logger is currently set to publish messages at level .
 void warning(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 warning(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 warning(java.lang.Throwable error)
          Log a message at level , based on the given error.

 

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.WARNING

Method Detail

warning

void warning(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

warning

void warning(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.

warning

void warning(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.

isWarning

boolean isWarning()
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.