fedora.server
Interface Logging

All Known Implementing Classes:
FieldSearchServlet, GetNextPIDServlet, Logger, LoginServlet, Module, Report, ReportServlet, Server, StdoutLogging, UploadServlet

public interface Logging

Title: Logging.java

Description: A class that has methods for logging.

The methods starting with logging can be used to quickly check whether a certain type of logging is enabled. This helps in situations where the process of building the log message (before calling logXXX) takes enough time that it should not run unless necessary.

-----------------------------------------------------------------------------

License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.

-----------------------------------------------------------------------------

Version:
$Id: Logging.java,v 1.6 2005/01/11 20:06:05 cwilper Exp $
Author:
cwilper@cs.cornell.edu

Method Summary
 void logConfig(java.lang.String message)
           
 void logFine(java.lang.String message)
           
 void logFiner(java.lang.String message)
           
 void logFinest(java.lang.String message)
           
 boolean loggingConfig()
           
 boolean loggingFine()
           
 boolean loggingFiner()
           
 boolean loggingFinest()
           
 boolean loggingInfo()
           
 boolean loggingSevere()
           
 boolean loggingWarning()
           
 void logInfo(java.lang.String message)
           
 void logSevere(java.lang.String message)
           
 void logWarning(java.lang.String message)
           
 

Method Detail

logSevere

public void logSevere(java.lang.String message)

logWarning

public void logWarning(java.lang.String message)

logInfo

public void logInfo(java.lang.String message)

logConfig

public void logConfig(java.lang.String message)

logFine

public void logFine(java.lang.String message)

logFiner

public void logFiner(java.lang.String message)

logFinest

public void logFinest(java.lang.String message)

loggingSevere

public boolean loggingSevere()

loggingWarning

public boolean loggingWarning()

loggingInfo

public boolean loggingInfo()

loggingConfig

public boolean loggingConfig()

loggingFine

public boolean loggingFine()

loggingFiner

public boolean loggingFiner()

loggingFinest

public boolean loggingFinest()