All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.server.log.NullTraceLog

java.lang.Object
   |
   +----com.sun.server.log.Log
           |
           +----com.sun.server.log.TraceLog
                   |
                   +----com.sun.server.log.NullTraceLog

public class NullTraceLog
extends TraceLog
Provide a log that does nothing when written to. This is the equivalent of the Unix /dev/null device.

The class is useful for assigning to a log file instance when the log cannot be created for some reason. Subsequent uses of the log do not need to check the log's validity before every write.


Constructor Index

 o NullTraceLog()

Constructors

 o NullTraceLog
 public NullTraceLog()

All Packages  Class Hierarchy  This Package  Previous  Next  Index