JBoss Logging Programming Interface 2.2.0.CR2-SNAPSHOT

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

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
 

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)

JBoss Logging Programming Interface 2.2.0.CR2-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.