Class LogRecord


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

      • LogRecord

        public LogRecord​(Severity severity,
                         java.lang.String message)
      • LogRecord

        public LogRecord​(Severity severity,
                         Cursor cursor,
                         java.lang.String message)
      • LogRecord

        public LogRecord​(Severity severity,
                         Cursor cursor,
                         java.lang.String message,
                         java.lang.String sourceFileName,
                         java.lang.String sourceMethodName)
    • Method Detail

      • 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 java.lang.String getMessage()
        Returns:
        Descriptive message about the event.
      • getSourceFileName

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

        public java.lang.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.