-- 第一种:日志输出方式
import com.sap.tc.logging.Category;
import com.sap.tc.logging.Location;
import com.sap.tc.logging.Severity;
import com.sap.tc.logging.SimpleLogger;
private static final Category CATEGORY = Category.getCategory(Category.APPLICATIONS, "/ME/Extension/Execution");
private static final Location LOC = Location.getLocation("com.atlmes.hook.SfcAutoAssemblyHook");
private static final String MESSAGE_ID = "MEExtension:SfcAutoAssemblyHook";
private static final String ASSEMBLE_EVENT = "baseFinished:AssemblyPoint";
--日志打印方式
SimpleLogger.log(Severity.DEBUG, CATEGORY, LOC, MESSAGE_ID, "item" + assembleItemRef + ",sequence" + sequence);
-- 第二种:ERRO
【SAP ME 31】JAVA日志输出到NWA日志方式
于 2021-09-10 08:53:35 首次发布