public void debugPrint ( final Log log ) { this . visit ( new Visitor ( ) { public void visit ( Layer layer , int depth ) { String prefix = repeat ( ' ' , depth ) ; log . debug ( prefix + layer . toString ( ) ) ; } } ) ; }
Prints a debug representation of this layer and its children .