1 4 package com.tc.object.config; 5 6 import com.tc.logging.TCLogger; 7 8 11 public class DSOClientConfigHelperLogger { 12 private final TCLogger LOGGER; 13 14 DSOClientConfigHelperLogger(TCLogger logger) { 15 this.LOGGER = logger; 16 } 17 18 void logIsLockMethodNoMatch(String className, String methodName) { 19 if (LOGGER.isDebugEnabled()) LOGGER.debug("isLockMethod() " + className + "." + methodName + ": NO MATCH"); 20 } 21 22 void logIsLockMethodMatch(Lock[] locks, String className, String methodName, int i) { 23 if (LOGGER.isDebugEnabled()) LOGGER.debug("isLockMethod() " + className + "." + methodName + ": FOUND A MATCH: " 24 + locks[i]); 25 } 26 27 void logIsLockMethodAutolock() { 28 LOGGER.debug("isLockMethod(): is autolock and is method is synchronized, returning true."); 29 } 30 31 void logIsLockMethodBegin(int modifiers, String className, String methodName, String description) { 32 if (LOGGER.isDebugEnabled()) LOGGER.debug("isLockMethod(" + modifiers + ", " + className + ", " + methodName + ", " 33 + description + ")"); 34 } 35 36 } | Popular Tags |