Class LoggerHelper


  • public final class LoggerHelper
    extends Object
    Helper for logging purposes.
    • Method Detail

      • getLineNumberLoggerName

        public static String getLineNumberLoggerName​(Object node)
        If the node is LineNumberAware then get a logger name that will point to the source:line, otherwise return null.
        Parameters:
        node - the node
        Returns:
        the logger name, or null
      • getSourceLocation

        public static String getSourceLocation​(Object node)
      • stripSourceLocationLineNumber

        public static String stripSourceLocationLineNumber​(String location)