package com.digi.config.util; import com.digi.config.core.*; /** * Defines the operations and constants associated with the System Log Controller. * The system log maintains a collection of log entries on either the client or * server system and helps manage their life-cycle. * * @see SystemLog This class provides a variety of helper methods that clients * should use to access and log messages the SystemLogCtlr. */ public interface SystemLogCtlr extends Controller { public static final String LOG_TO_FILE_KEY="LogToFile"; // true public static final String LOG_FILE_NAME_KEY="LogFileName"; // Set to one of the next public static final String LOG_DEBUG_MSG_KEY="LogDebugMsg"; //true // Various keys for the names of the log files public static final String CONFIG_LOG_FILE_NAME_KEY="ConfigLogFileName"; /** * Adds a LogEntry to the SystemLog. This method will also write an entry to * the log file if the logToFile flag is enabled. * * @param item the SystemLogEntry to add to the SystemLogCtlr */ public void add(SystemLogEntry item) throws Exception; }