Package netscape.ldap
Interface LDAPTraceWriter
public interface LDAPTraceWriter
The
LDAPTraceWriter
interface enables logging of LDAP
trace messages in environments where an OutputStream can not be used.
The interface is primarily meant for integrating LDAP tracing with the servlet log facility:
servletCtx = config.getServletContext(); ... LDAPConnection ld = new LDAPConnection(); ld.setProperty(ld.TRACE_PROPERTY, new LDAPTraceWriter() { public void write (String msg) { servletCtx.log(msg); } });
- Version:
- 1.0
- See Also:
-
Method Summary
-
Method Details
-
write
Writes an LDAP trace message.- Parameters:
msg
- An incoming or outgoing LDAP message- See Also:
-