Domino Code Fragment
| Code Name* OpenAgentLog method | Date* 12/20/2025 | Source (or email address if you prefer)* [email protected] IP address:.108.162.216.118 | |
| Description* This agent opens the agent log and writes an action message to it. | Type* Java | Categories* (Misc) | |
| Implementation: | Required Client: | Server: |
| Limitations: | Comments: | |
public class openagentlogagent extends AgentBase
{
public void NotesMain()
{
try
{
Session s = getSession();
Log log = s.createLog("Agent Log");
log.openAgentLog();
log.logAction("Action one");
log.close();
}
catch (Exception e)
{
e.printStackTrace();
}
}
}