Package org.apache.camel.support
Class LoggerHelper
java.lang.Object
org.apache.camel.support.LoggerHelper
Helper for logging purposes.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Integer
extractSourceLocationLineNumber
(String location) static String
If the node isLineNumberAware
then get a logger name that will point to the source:line, otherwise return null.static String
getSourceLocation
(Object node) static String
stripSourceLocationLineNumber
(String location)
-
Method Details
-
getLineNumberLoggerName
If the node isLineNumberAware
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
-
stripSourceLocationLineNumber
-
extractSourceLocationLineNumber
-