org.jboss.logging
Class NDC

java.lang.Object
  extended by org.jboss.logging.NDC

public class NDC
extends Object

A "Nested Diagnostic Context" abstraction.

Author:
Jason T. Greene

Constructor Summary
NDC()
           
 
Method Summary
static void clear()
           
static String get()
           
static int getDepth()
           
static String peek()
           
static String pop()
           
static void push(String message)
           
static void setMaxDepth(int maxDepth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NDC

public NDC()
Method Detail

clear

public static void clear()

get

public static String get()

getDepth

public static int getDepth()

pop

public static String pop()

peek

public static String peek()

push

public static void push(String message)

setMaxDepth

public static void setMaxDepth(int maxDepth)


Copyright © 2009 JBoss Inc.. All Rights Reserved.