运行下面的代码后,我在下面的日志中找不到“Action One”这个词log.nsf
,有谁知道是什么问题?
import lotus.domino.*;
public class JavaAgent extends AgentBase {
public void NotesMain() {
try {
Session session = getSession();
AgentContext agentContext =
session.getAgentContext();
// (Your code goes here)
Log log = session.createLog("Agent Log");
log.openAgentLog();
log.logAction("Action one");
log.close();
} catch(Exception e) {
e.printStackTrace();
}
}
}