Class SimpleLogRecord

java.lang.Object
org.eclipse.rdf4j.common.logging.base.SimpleLogRecord
All Implemented Interfaces:
LogRecord
Direct Known Subclasses:
LogRecordBase

public class SimpleLogRecord extends Object implements LogRecord
Simple log record, containing only the basics
  • Constructor Details

    • SimpleLogRecord

      public SimpleLogRecord()
  • Method Details

    • getLevel

      public LogLevel getLevel()
      Description copied from interface: LogRecord
      Get log level
      Specified by:
      getLevel in interface LogRecord
      Returns:
      log level enumeration
    • getMessage

      public String getMessage()
      Description copied from interface: LogRecord
      Get message
      Specified by:
      getMessage in interface LogRecord
      Returns:
      text
    • getStackTrace

      public List<String> getStackTrace()
      Description copied from interface: LogRecord
      Get stack trace as list of strings
      Specified by:
      getStackTrace in interface LogRecord
      Returns:
      list of strings
    • getThreadName

      public String getThreadName()
      Description copied from interface: LogRecord
      Get thread name
      Specified by:
      getThreadName in interface LogRecord
      Returns:
      thread name
    • getTime

      public Date getTime()
      Description copied from interface: LogRecord
      Get date time
      Specified by:
      getTime in interface LogRecord
      Returns:
      date
    • setLevel

      public void setLevel(LogLevel level)
      Set log level
      Parameters:
      level -
    • setMessage

      public void setMessage(String message)
      Set message
      Parameters:
      message - text
    • setStackTrace

      public void setStackTrace(List<String> stackTrace)
      Set stack trace as list of strings
      Parameters:
      stackTrace - list of strings
    • setThreadName

      public void setThreadName(String threadName)
      Set thread name
      Parameters:
      threadName -
    • setTime

      public void setTime(Date time)
      Set date time
      Parameters:
      time - time
    • toString

      public String toString()
      Overrides:
      toString in class Object