Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.jdeveloper.audit.service
Class AuditLogger

java.lang.Object
  extended by oracle.jdeveloper.audit.service.AuditLogger

public class AuditLogger
extends java.lang.Object

A convenience facade for the Audit Logger.


Constructor Summary
AuditLogger()
           
 
Method Summary
static void error(java.lang.String message, java.lang.Object... arguments)
          Log an error to the Audit Logger.
static void error(java.lang.Throwable thrown, java.lang.String message, java.lang.Object... arguments)
          Log an exception to the Audit Logger.
static java.util.logging.Logger getLogger()
          Gets the Audit Logger.
static void informational(java.lang.String message, java.lang.Object... arguments)
          Log an error to the Audit Logger.
static void log(java.util.logging.Level level, java.lang.String message, java.lang.Object... arguments)
          Log a message to the Audit Logger.
static void log(java.util.logging.Level level, java.lang.Throwable thrown, java.lang.String message, java.lang.Object... arguments)
          Log a message with exception to the Audit Logger.
static void warning(java.lang.String message, java.lang.Object... arguments)
          Log a warning to the Audit Logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditLogger

public AuditLogger()
Method Detail

getLogger

public static java.util.logging.Logger getLogger()
Gets the Audit Logger.


error

public static void error(java.lang.String message,
                         java.lang.Object... arguments)
Log an error to the Audit Logger. If arguments are specified and the last argument is an exception, that exception will be assumed to be the cause of the error.

Parameters:
message - The message text (see MessageFormat).
arguments - Arguments to be included in the message, if any.

error

public static void error(java.lang.Throwable thrown,
                         java.lang.String message,
                         java.lang.Object... arguments)
Log an exception to the Audit Logger.

Parameters:
thrown - The exception to be logged.
message - The message text (see MessageFormat).
arguments - Arguments to be included in the message, if any.

warning

public static void warning(java.lang.String message,
                           java.lang.Object... arguments)
Log a warning to the Audit Logger.

Parameters:
message - The message text (see MessageFormat).
arguments - Arguments to be included in the message, if any.

informational

public static void informational(java.lang.String message,
                                 java.lang.Object... arguments)
Log an error to the Audit Logger.

Parameters:
message - The message text (see MessageFormat).
arguments - Arguments to be included in the message, if any.

log

public static void log(java.util.logging.Level level,
                       java.lang.String message,
                       java.lang.Object... arguments)
Log a message to the Audit Logger.

Parameters:
level - The message level.
message - The message text (see MessageFormat).
arguments - Arguments to be included in the message, if any.

log

public static void log(java.util.logging.Level level,
                       java.lang.Throwable thrown,
                       java.lang.String message,
                       java.lang.Object... arguments)
Log a message with exception to the Audit Logger.

Parameters:
level - The message level.
thrown - The exception to be logged, or null if none.
message - The message text (see MessageFormat).
arguments - Arguments to be included in the message, if any.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

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