當前位置: 首頁>>代碼示例>>Java>>正文


Java Trace.isTraceEnabled方法代碼示例

本文整理匯總了Java中com.evolveum.midpoint.util.logging.Trace.isTraceEnabled方法的典型用法代碼示例。如果您正苦於以下問題:Java Trace.isTraceEnabled方法的具體用法?Java Trace.isTraceEnabled怎麽用?Java Trace.isTraceEnabled使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在com.evolveum.midpoint.util.logging.Trace的用法示例。


在下文中一共展示了Trace.isTraceEnabled方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: traceContext

import com.evolveum.midpoint.util.logging.Trace; //導入方法依賴的package包/類
public static <F extends ObjectType> void traceContext(Trace logger, String activity, String phase, 
boolean important,  LensContext<F> context, boolean showTriples) throws SchemaException {
     if (logger.isTraceEnabled()) {
     	logger.trace("Lens context:\n"+
         		"---[ {} context {} ]--------------------------------\n"+
         		"{}\n",
		activity, phase, context.dump(showTriples));
     }
 }
 
開發者ID:Pardus-Engerek,項目名稱:engerek,代碼行數:10,代碼來源:LensUtil.java

示例2: logStart

import com.evolveum.midpoint.util.logging.Trace; //導入方法依賴的package包/類
protected void logStart(Trace LOGGER, Event event, EventHandlerType eventHandlerType, Object additionalData) {
    if (LOGGER.isTraceEnabled()) {
        LOGGER.trace("Starting processing event " + event + " with handler " +
                eventHandlerType.getClass() + " (name: " + eventHandlerType.getName() +
                (additionalData != null ? (", parameters: " + additionalData) :
                                         (", configuration: " + eventHandlerType)) +
                ")");
    }
}
 
開發者ID:Pardus-Engerek,項目名稱:engerek,代碼行數:10,代碼來源:BaseHelper.java

示例3: logStart

import com.evolveum.midpoint.util.logging.Trace; //導入方法依賴的package包/類
protected void logStart(Trace LOGGER, Event event, EventHandlerType eventHandlerType, Object additionalData) {
    if (LOGGER.isTraceEnabled()) {
        LOGGER.trace("Starting processing event " + event.shortDump() + " with handler " +
        		getHumanReadableHandlerDescription(eventHandlerType) + "\n  parameters: " +
        		(additionalData != null ? ("\n  parameters: " + additionalData) :
                    ("\n  configuration: " + eventHandlerType)));
                
    }
}
 
開發者ID:Pardus-Engerek,項目名稱:engerek,代碼行數:10,代碼來源:BaseHandler.java

示例4: staticLogStart

import com.evolveum.midpoint.util.logging.Trace; //導入方法依賴的package包/類
public static void staticLogStart(Trace LOGGER, Event event, String description, Object additionalData) {
    if (LOGGER.isTraceEnabled()) {
        LOGGER.trace("Starting processing event " + event + " with handler " +
                description +
                (additionalData != null ? (", parameters: " + additionalData) : ""));
    }
}
 
開發者ID:Pardus-Engerek,項目名稱:engerek,代碼行數:8,代碼來源:BaseHandler.java

示例5: traceContext

import com.evolveum.midpoint.util.logging.Trace; //導入方法依賴的package包/類
public static <F extends ObjectType> void traceContext(Trace logger, String activity, String phase,
boolean important,  LensContext<F> context, boolean showTriples) throws SchemaException {
     if (logger.isTraceEnabled()) {
     	logger.trace("Lens context:\n"+
         		"---[ {} context {} ]--------------------------------\n"+
         		"{}\n",
		activity, phase, context.dump(showTriples));
     }
 }
 
開發者ID:Evolveum,項目名稱:midpoint,代碼行數:10,代碼來源:LensUtil.java

示例6: logStart

import com.evolveum.midpoint.util.logging.Trace; //導入方法依賴的package包/類
protected void logStart(Trace LOGGER, Event event, EventHandlerType eventHandlerType, Object additionalData) {
    if (LOGGER.isTraceEnabled()) {
        LOGGER.trace("Starting processing event " + event.shortDump() + " with handler " +
        		getHumanReadableHandlerDescription(eventHandlerType) + "\n  parameters: " +
        		(additionalData != null ? ("\n  parameters: " + additionalData) :
                    ("\n  configuration: " + eventHandlerType)));

    }
}
 
開發者ID:Evolveum,項目名稱:midpoint,代碼行數:10,代碼來源:BaseHandler.java

示例7: logEnd

import com.evolveum.midpoint.util.logging.Trace; //導入方法依賴的package包/類
public void logEnd(Trace LOGGER, Event event, EventHandlerType eventHandlerType, boolean result) {
    if (LOGGER.isTraceEnabled()) {
        LOGGER.trace("Finishing processing event " + event + " result = " + result);
    }
}
 
開發者ID:Pardus-Engerek,項目名稱:engerek,代碼行數:6,代碼來源:BaseHelper.java


注:本文中的com.evolveum.midpoint.util.logging.Trace.isTraceEnabled方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。