Interface ILogRecord

  • All Known Implementing Classes:
    ELogRecord, LogRecord

    public interface ILogRecord
    Interface to get log information, subject of log by and log for.
    • Method Detail

      • getLogInfoMap

        Map getLogInfoMap()
        Returns log information map.
        Returns:
        log information map.
      • addLogInfo

        void addLogInfo​(String key,
                        Object value)
        Adds to the log information map, the field key and its corresponding value.
        Parameters:
        key - The key which will be used by the formatter to determine if this piece of info is supposed to be added to the log string according to the selected log fields.
        value - The value which may form a part of the actual log-string.
      • getLogBy

        Object getLogBy()
        Returns log by subject.
        Returns:
        log by subject.
      • getLogFor

        Object getLogFor()
        Returns log for subject.
        Returns:
        log for subject.