Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

org.objectweb.cjdbc.common.log.StaticNoDebugLogger Class Reference

Inheritance diagram for org.objectweb.cjdbc.common.log.StaticNoDebugLogger:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.cjdbc.common.log.StaticNoDebugLogger:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StaticNoDebugLogger (Logger log4jLogger)
void debug (Object message, Throwable t)
void debug (Object message)
boolean isDebugEnabled ()

Detailed Description

This is a wrapper where debug logging has been statically disabled. It should improve the performance if one wants to completely disable debug traces.

Author:
Emmanuel Cecchet
Version:
1.0

Definition at line 37 of file StaticNoDebugLogger.java.


Constructor & Destructor Documentation

org.objectweb.cjdbc.common.log.StaticNoDebugLogger.StaticNoDebugLogger Logger  log4jLogger  ) 
 

Creates a new StaticNoDebugLogger object from a given log4j Logger.

Parameters:
log4jLogger the log4j Logger

Definition at line 46 of file StaticNoDebugLogger.java.

00047   {
00048     super(log4jLogger);
00049   }


Member Function Documentation

void org.objectweb.cjdbc.common.log.StaticNoDebugLogger.debug Object  message  ) 
 

This method is overriden with an empty body.

See also:
Trace.debug(Object)

Reimplemented from org.objectweb.cjdbc.common.log.Trace.

Definition at line 65 of file StaticNoDebugLogger.java.

00066   {
00067   }

void org.objectweb.cjdbc.common.log.StaticNoDebugLogger.debug Object  message,
Throwable  t
 

This method is overriden with an empty body.

See also:
Trace.debug(Object, Throwable)

Reimplemented from org.objectweb.cjdbc.common.log.Trace.

Definition at line 56 of file StaticNoDebugLogger.java.

00057   {
00058   }

boolean org.objectweb.cjdbc.common.log.StaticNoDebugLogger.isDebugEnabled  ) 
 

Returns:
false
See also:
org.objectweb.cjdbc.common.log.Trace.isDebugEnabled()

Reimplemented from org.objectweb.cjdbc.common.log.Trace.

Definition at line 73 of file StaticNoDebugLogger.java.

00074   {
00075     return false;
00076   }


The documentation for this class was generated from the following file:
Generated on Mon Apr 11 22:01:43 2005 for C-JDBC by  doxygen 1.3.9.1