SmartFrog 3.10.000

org.smartfrog.sfcore.logging
Interface LogRemote

All Superinterfaces:
java.rmi.Remote
All Known Subinterfaces:
SFPrimLog
All Known Implementing Classes:
SFPrimLogImpl

public interface LogRemote
extends java.rmi.Remote

A simple logging interface abstracting logging APIs based in Apache Jakarta logging.


Method Summary
 void debug(java.lang.Object message)
           Log a message with debug log level.
 void debug(java.lang.Object message, java.lang.Throwable t)
           Log an error with debug log level.
 void error(java.lang.Object message)
           Log a message with error log level.
 void error(java.lang.Object message, java.lang.Throwable t)
           Log an error with error log level.
 void fatal(java.lang.Object message)
           Log a message with fatal log level.
 void fatal(java.lang.Object message, java.lang.Throwable t)
           Log an error with fatal log level.
 void info(java.lang.Object message)
           Log a message with info log level.
 void info(java.lang.Object message, java.lang.Throwable t)
           Log an error with info log level.
 boolean isDebugEnabled()
           Is debug logging currently enabled?
 boolean isErrorEnabled()
           Is error logging currently enabled?
 boolean isFatalEnabled()
           Is fatal logging currently enabled?
 boolean isInfoEnabled()
           Is info logging currently enabled?
 boolean isTraceEnabled()
           Is trace logging currently enabled?
 boolean isWarnEnabled()
           Is warning logging currently enabled?
 void trace(java.lang.Object message)
           Log a message with trace log level.
 void trace(java.lang.Object message, java.lang.Throwable t)
           Log an error with trace log level.
 void warn(java.lang.Object message)
           Log a message with warn log level.
 void warn(java.lang.Object message, java.lang.Throwable t)
           Log an error with warn log level.
 

Method Detail

isDebugEnabled

boolean isDebugEnabled()
                       throws java.rmi.RemoteException

Is debug logging currently enabled?

Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than debug.

Returns:
boolean true if debug level is currently enabled
Throws:
java.rmi.RemoteException - in case of remote/network error

isErrorEnabled

boolean isErrorEnabled()
                       throws java.rmi.RemoteException

Is error logging currently enabled?

Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than error.

Returns:
boolean true if error level is currently enabled
Throws:
java.rmi.RemoteException - in case of remote/network error

isFatalEnabled

boolean isFatalEnabled()
                       throws java.rmi.RemoteException

Is fatal logging currently enabled?

Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than fatal.

Returns:
boolean true if fatal level is currently enabled
Throws:
java.rmi.RemoteException - in case of remote/network error

isInfoEnabled

boolean isInfoEnabled()
                      throws java.rmi.RemoteException

Is info logging currently enabled?

Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than info.

Returns:
boolean true if info level is currently enabled
Throws:
java.rmi.RemoteException - in case of remote/network error

isTraceEnabled

boolean isTraceEnabled()
                       throws java.rmi.RemoteException

Is trace logging currently enabled?

Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than trace.

Returns:
boolean true if trace level is currently enabled
Throws:
java.rmi.RemoteException - in case of remote/network error

isWarnEnabled

boolean isWarnEnabled()
                      throws java.rmi.RemoteException

Is warning logging currently enabled?

Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than warn.

Returns:
boolean true if warn level is currently enabled
Throws:
java.rmi.RemoteException - in case of remote/network error

trace

void trace(java.lang.Object message)
           throws java.rmi.RemoteException

Log a message with trace log level.

Parameters:
message - log this message
Throws:
java.rmi.RemoteException - in case of remote/network error

trace

void trace(java.lang.Object message,
           java.lang.Throwable t)
           throws java.rmi.RemoteException

Log an error with trace log level.

Parameters:
message - log this message
t - log this cause
Throws:
java.rmi.RemoteException - in case of remote/network error

debug

void debug(java.lang.Object message)
           throws java.rmi.RemoteException

Log a message with debug log level.

Parameters:
message - log this message
Throws:
java.rmi.RemoteException - in case of remote/network error

debug

void debug(java.lang.Object message,
           java.lang.Throwable t)
           throws java.rmi.RemoteException

Log an error with debug log level.

Parameters:
message - log this message
t - log this cause
Throws:
java.rmi.RemoteException - in case of remote/network error

info

void info(java.lang.Object message)
          throws java.rmi.RemoteException

Log a message with info log level.

Parameters:
message - log this message
Throws:
java.rmi.RemoteException - in case of remote/network error

info

void info(java.lang.Object message,
          java.lang.Throwable t)
          throws java.rmi.RemoteException

Log an error with info log level.

Parameters:
message - log this message
t - log this cause
Throws:
java.rmi.RemoteException - in case of remote/network error

warn

void warn(java.lang.Object message)
          throws java.rmi.RemoteException

Log a message with warn log level.

Parameters:
message - log this message
Throws:
java.rmi.RemoteException - in case of remote/network error

warn

void warn(java.lang.Object message,
          java.lang.Throwable t)
          throws java.rmi.RemoteException

Log an error with warn log level.

Parameters:
message - log this message
t - log this cause
Throws:
java.rmi.RemoteException - in case of remote/network error

error

void error(java.lang.Object message)
           throws java.rmi.RemoteException

Log a message with error log level.

Parameters:
message - log this message
Throws:
java.rmi.RemoteException - in case of remote/network error

error

void error(java.lang.Object message,
           java.lang.Throwable t)
           throws java.rmi.RemoteException

Log an error with error log level.

Parameters:
message - log this message
t - log this cause
Throws:
java.rmi.RemoteException - in case of remote/network error

fatal

void fatal(java.lang.Object message)
           throws java.rmi.RemoteException

Log a message with fatal log level.

Parameters:
message - log this message
Throws:
java.rmi.RemoteException - in case of remote/network error

fatal

void fatal(java.lang.Object message,
           java.lang.Throwable t)
           throws java.rmi.RemoteException

Log an error with fatal log level.

Parameters:
message - log this message
t - log this cause
Throws:
java.rmi.RemoteException - in case of remote/network error

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP