org.jboss.logging.log4j
Class Log4jNDCProvider
java.lang.Object
org.jboss.logging.log4j.Log4jNDCProvider
- All Implemented Interfaces:
- org.jboss.logging.NDCProvider
public class Log4jNDCProvider
- extends Object
- implements org.jboss.logging.NDCProvider
Log4j implementation of NDCProvider, delegates to log4j NDC.
- Author:
- Jason T. Greene
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4jNDCProvider
public Log4jNDCProvider()
clear
public void clear()
- Specified by:
clear
in interface org.jboss.logging.NDCProvider
get
public String get()
- Specified by:
get
in interface org.jboss.logging.NDCProvider
getDepth
public int getDepth()
- Specified by:
getDepth
in interface org.jboss.logging.NDCProvider
peek
public String peek()
- Specified by:
peek
in interface org.jboss.logging.NDCProvider
pop
public String pop()
- Specified by:
pop
in interface org.jboss.logging.NDCProvider
push
public void push(String message)
- Specified by:
push
in interface org.jboss.logging.NDCProvider
setMaxDepth
public void setMaxDepth(int maxDepth)
- Specified by:
setMaxDepth
in interface org.jboss.logging.NDCProvider
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.