kr.co.hit.live.profile.visitor
Class CommonsLogVisitor
java.lang.Object
kr.co.hit.live.profile.visitor.CommonsLogVisitor
- All Implemented Interfaces:
- ProfileNodeVisitor
public class CommonsLogVisitor
- extends Object
- implements ProfileNodeVisitor
ProfileNode의 탐색 결과를 Commons Logging 객체를 통하여 출력하는 ProfileNodeVisitor의 구현 클래스이다.
- Since:
- 4.0
- Author:
- 김형도
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonsLogVisitor
public CommonsLogVisitor(org.slf4j.Logger logger,
int maxDepth)
- 생성자이다. Logging 객체를 전달한다.
- Parameters:
logger - 로그 출력용 로그 객체maxDepth - 출력 대상이 되는 객체의 최대 깊이
beforeVisit
public void beforeVisit(ProfileNode node)
- Specified by:
beforeVisit in interface ProfileNodeVisitor
afterVisit
public void afterVisit(ProfileNode node)
- Specified by:
afterVisit in interface ProfileNodeVisitor
Copyright © 2014. All Rights Reserved.