Skip navigation links

Oracle Secure Enterprise Search Java API Reference
10g Release 1 (10.1.8.2)

E10465-01


oracle.search.sdk.common
Interface Logger

All Known Subinterfaces:
Logger

public interface Logger

An interface used by Oracle SES SDK components to output messages to a log file.


Method Summary
 void debug(String logmessage)
          Logs the timestamp and the debug message.
 void debug(String logmessage, Object caller)
          Logs the class name and the debug message.
 void error(String logmessage)
          Logs the timestamp and the error message.
 void error(String logmessage, Object caller)
          Logs the class name and the error message.
 void error(Throwable e)
          Logs the timestamp and the Exception or Error.
 void fatal(String logmessage)
          Logs the timestamp and the fatal message.
 void fatal(String logmessage, Object caller)
          Logs the class name and the fatal message.
 void fatal(Throwable e)
          Logs the timestamp and the fatal exception.
 int getLogLevel()
          Returns the current logging level.
 void info(String logmessage)
          Logs the timestamp and the info message.
 void info(String logmessage, Object caller)
          Logs the class name and the info message.
 void trace(String logmessage)
          Logs the timestamp and the trace message.
 void trace(String logmessage, Object caller)
          Logs the class name and the trace message.
 void trace(Throwable e)
          Logs the timestamp and the full tracestack in debug mode.
 void warn(String logmessage)
          Logs the timestamp and the warning message.
 void warn(String logmessage, Object caller)
          Logs the class name and the warning message.

 

Method Detail

fatal

public void fatal(String logmessage,
                  Object caller)
Logs the class name and the fatal message.
Parameters:
logmessage - the log message
caller - the calling object

fatal

public void fatal(String logmessage)
Logs the timestamp and the fatal message.
Parameters:
logmessage - the log message

fatal

public void fatal(Throwable e)
Logs the timestamp and the fatal exception.
Parameters:
e - the Exception or Error to be logged

error

public void error(String logmessage,
                  Object caller)
Logs the class name and the error message.
Parameters:
logmessage - the log message
caller - the calling object

error

public void error(String logmessage)
Logs the timestamp and the error message.
Parameters:
logmessage - the log message

error

public void error(Throwable e)
Logs the timestamp and the Exception or Error.
Parameters:
e - the Exception or Error to be logged

warn

public void warn(String logmessage,
                 Object caller)
Logs the class name and the warning message.
Parameters:
logmessage - the log message
caller - the calling object

warn

public void warn(String logmessage)
Logs the timestamp and the warning message.
Parameters:
logmessage - the log message

info

public void info(String logmessage,
                 Object caller)
Logs the class name and the info message.
Parameters:
logmessage - the log message
caller - the calling object

info

public void info(String logmessage)
Logs the timestamp and the info message.
Parameters:
logmessage - the log message

debug

public void debug(String logmessage,
                  Object caller)
Logs the class name and the debug message.
Parameters:
logmessage - the log message
caller - the calling object

debug

public void debug(String logmessage)
Logs the timestamp and the debug message.
Parameters:
logmessage - the log message

getLogLevel

public int getLogLevel()
Returns the current logging level. The different levels are:
Returns:
current logging level in the range (0 - 10)

trace

public void trace(Throwable e)
Logs the timestamp and the full tracestack in debug mode.
Parameters:
e - the Exception or Error to be logged

trace

public void trace(String logmessage,
                  Object caller)
Logs the class name and the trace message.
Parameters:
logmessage - the log message
caller - the calling object

trace

public void trace(String logmessage)
Logs the timestamp and the trace message.
Parameters:
logmessage - the log message

Skip navigation links

Oracle Secure Enterprise Search Java API Reference
10g Release 1 (10.1.8.2)

E10465-01


Copyright © 2006, 2007, Oracle. All rights reserved.