com.arsdigita.logging
Class Log

java.lang.Object
  extended bycom.arsdigita.logging.Log

public class Log
extends Object

Defines APIs for logging in addition to those supplied by log4j. Mainly, this class defines an API for logging securely.

Version:
$Revision: #7 $ $Date: 2004/04/07 $
Author:
Yon Feldman

Field Summary
static String versionId
           
 
Constructor Summary
Log()
           
 
Method Summary
static boolean isSecure()
          Checks whether we are currently logging securely.
static void secure(Runnable r)
          Any log messages run inside this method will be logged securely.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

Log

public Log()
Method Detail

isSecure

public static boolean isSecure()
Checks whether we are currently logging securely.

Returns:
true if we are logging securely, false otherwise.

secure

public static void secure(Runnable r)
Any log messages run inside this method will be logged securely.

Parameters:
r - the class that implements the Runnable interface


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC