public int incrementCount ( ) { // get the logging recursion stack depth for the current thread int depth = stackDepth . get ( ) ; depth = depth + 1 ; stackDepth . set ( depth ) ; return depth ; }
Increments the recursion count for this thread .