Class LoggerHelper

java.lang.Object
org.apache.camel.support.LoggerHelper

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

    • 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)
    • extractSourceLocationLineNumber

      public static Integer extractSourceLocationLineNumber(String location)