org.eclipse.rdf4j.common.logging

## Interface LogRecord

- All Known Implementing Classes:
    LogRecordBase, SimpleLogRecord

      public interface LogRecord

  Log record interface

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static SimpleDateFormat` | `ISO8601_TIMESTAMP_FORMAT`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `LogLevel` | `getLevel()` Get log level
    `String` | `getMessage()` Get message
    `List<String>` | `getStackTrace()` Get stack trace as list of strings
    `String` | `getThreadName()` Get thread name
    `Date` | `getTime()` Get date time

- - ### Field Detail

    - #### ISO8601_TIMESTAMP_FORMAT

          static final SimpleDateFormat ISO8601_TIMESTAMP_FORMAT

  - ### Method Detail

    - #### getLevel

          LogLevel getLevel()

      Get log level
      Returns:
        log level enumeration

    - #### getTime

          Date getTime()

      Get date time
      Returns:
        date

    - #### getThreadName

          String getThreadName()

      Get thread name
      Returns:
        thread name

    - #### getMessage

          String getMessage()

      Get message
      Returns:
        text

    - #### getStackTrace

          List<String> getStackTrace()

      Get stack trace as list of strings
      Returns:
        list of strings

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.