Package org.eclipse.m2m.atl.common
Class ATLLogger
java.lang.Object
org.eclipse.m2m.atl.common.ATLLogger
The common ATL logger.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidLog a FINE message.static LoggerReturns the ATL logger.static voidLog an INFO message.static voidLog a message.static voidLog a SEVERE message.static voidLog a WARNING message.
-
Field Details
-
LOGGER_ID
The logger ID.- See Also:
-
LOGLEVEL
The lowest logging level to log. -
logger
-
-
Constructor Details
-
ATLLogger
protected ATLLogger()Constructor.
-
-
Method Details
-
getLogger
Returns the ATL logger.- Returns:
- The ATL logger
-
log
Log a message.- Parameters:
level- the message severitymsg- The string message (or a key in the message catalog)thrown- the throwable cause
-
fine
Log a FINE message.- Parameters:
msg- The string message (or a key in the message catalog)
-
info
Log an INFO message.- Parameters:
msg- The string message (or a key in the message catalog)
-
warning
Log a WARNING message.- Parameters:
msg- The string message (or a key in the message catalog)
-
severe
Log a SEVERE message.- Parameters:
msg- The string message (or a key in the message catalog)
-