Class LogRecord

java.lang.Object
org.asciidoctor.log.LogRecord

public class LogRecord extends Object
Description of an specific event occurred during conversion.
  • Constructor Details

  • Method Details

    • getSeverity

      public Severity getSeverity()
      Returns:
      Severity level of the current record.
    • getCursor

      public Cursor getCursor()
      Returns:
      Information about the location of the event.
    • getMessage

      public String getMessage()
      Returns:
      Descriptive message about the event.
    • getSourceFileName

      public String getSourceFileName()
      Returns:
      The value <script>. For the source filename use Cursor.getFile() obtained with the getCursor() method.
    • getSourceMethodName

      public String getSourceMethodName()
      Returns:
      The Asciidoctor Ruby engine method used to convert the file; convertFile or convert whether you are converting a File or a String.