Oracle

weblogic.common
Interface LogServicesDef


Deprecated. Deprecated in WebLogic Server 7.0.

Use the Java internationalization APIs or, if internationalization is not required, use weblogic.logging.NonCatalogLogger.

public interface LogServicesDef

The LogServicesDef interface defines application logging services for the WebLogic Server.


Method Summary
 void debug(String s)
          Deprecated. Deprecated in WebLogic Server 6.1.
 void error(String s)
          Deprecated. Deprecated in WebLogic Server 6.1.
 void error(String msg, String stackTrace)
          Deprecated. Throwables be left in their raw form rather than stringified so that loggers can manipulate them. Use error(String, Throwable) instead.
 void error(String msg, Throwable th)
          Deprecated. Deprecated in WebLogic Server 6.1.
 void error(Throwable th)
          Deprecated. Throwables should be accompanied by a text explanation. Use error(String, Throwable) instead.
 void info(String msg)
          Deprecated. Deprecated in WebLogic Server 6.1.
 void info(String msg, Throwable th)
          Deprecated. Deprecated in WebLogic Server 6.1.
 void log(String msg)
          Deprecated. Use a more specific method such as info, error, or warning
 void log(String msg, Throwable th)
          Deprecated. Use a more specific method such as info, error, or warning
 void security(String s)
          Deprecated. Only the security service should log security messages.
 void warning(String s)
          Deprecated. Deprecated in WebLogic Server 6.1.
 

Method Detail

log

void log(String msg)
         throws T3Exception
Deprecated. Use a more specific method such as info, error, or warning

Logs a message in the log file.

Parameters:
msg - Message to be written to the log file
Throws:
weblogic.common.T3Exception - if the log message cannot be written
T3Exception

log

void log(String msg,
         Throwable th)
         throws T3Exception
Deprecated. Use a more specific method such as info, error, or warning

Logs an error in the log file.

Parameters:
msg - Message to be written to the log file
th - Error that prompted this log message
Throws:
weblogic.common.T3Exception - if the message cannot be written
T3Exception

info

void info(String msg)
          throws T3Exception
Deprecated. Deprecated in WebLogic Server 6.1.

Logs an info message in the log file.

Parameters:
msg - Message to be written to the log file
Throws:
weblogic.common.T3Exception - if the message cannot be written
T3Exception

info

void info(String msg,
          Throwable th)
          throws T3Exception
Deprecated. Deprecated in WebLogic Server 6.1.

Logs an info message in the log file.

Parameters:
msg - Message to be written to the log file
th - Error that prompted this log message
Throws:
weblogic.common.T3Exception - if the message cannot be written
T3Exception

error

void error(String msg,
           Throwable th)
           throws T3Exception
Deprecated. Deprecated in WebLogic Server 6.1.

Logs an error in the log file.

Parameters:
msg - Message to be written to the log file
th - Error that prompted this log message
Throws:
weblogic.common.T3Exception - if the message cannot be written
T3Exception

error

void error(Throwable th)
           throws T3Exception
Deprecated. Throwables should be accompanied by a text explanation. Use error(String, Throwable) instead.

Logs an error in the log file for a Throwable.

Parameters:
th - Throwable that prompted this log message
Throws:
weblogic.common.T3Exception - if the message cannot be written
T3Exception

error

void error(String s)
           throws T3Exception
Deprecated. Deprecated in WebLogic Server 6.1.

Logs the specified string as an error in the log file.

Parameters:
s - String message
Throws:
weblogic.common.T3Exception - if the message cannot be written
T3Exception

error

void error(String msg,
           String stackTrace)
           throws T3Exception
Deprecated. Throwables be left in their raw form rather than stringified so that loggers can manipulate them. Use error(String, Throwable) instead.

Logs the specified string and stacktrace as an error in the log file.

Parameters:
msg - String message
stackTrace - Stack trace
Throws:
weblogic.common.T3Exception - if the message cannot be written
T3Exception

warning

void warning(String s)
             throws T3Exception
Deprecated. Deprecated in WebLogic Server 6.1.

Logs the specified string as a warning message in the log file.

Parameters:
s - String message
Throws:
weblogic.common.T3Exception - if the message cannot be written
T3Exception

security

void security(String s)
              throws T3Exception
Deprecated. Only the security service should log security messages.

Logs the specified string as a security flag in the log file.

Parameters:
s - String message
Throws:
weblogic.common.T3Exception - if the message cannot be written
T3Exception

debug

void debug(String s)
           throws T3Exception
Deprecated. Deprecated in WebLogic Server 6.1.

Logs the specified string as a debug message in the log file.

Parameters:
s - String message
Throws:
weblogic.common.T3Exception - if the message cannot be written
T3Exception

Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle