com.arsdigita.logging
Class Log
java.lang.Object
com.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
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 |
versionId
public static final String versionId
- See Also:
- Constant Field Values
Log
public Log()
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 20 2004:2337 UTC