*/
    public void log(Signal s) throws Exception {        LogRecord r = (LogRecord) getChild(System.LOG_RECORD);        if (r != null) {            LogEntry e = createItem(LogRecord.ENTRY);                        if (e != null) {                if (s != null) {//??                    Time time = ??;//??                    Integer level = ??;                    e.setChild(LogEntry.MESSAGE, s.getChild(Signal.PREDICATE));                } else {                            throw new Exception("Could not log signal. The signal is null.");                }                r.set(LogRecord.ENTRY, e);            } else {                throw new Exception("Could not log signal. The log entry is null.");            }        } else {            throw new Exception("Could not log signal. The log record is null.");        }    }