public interface ILogService
Modifier and Type | Method and Description |
---|---|
void |
error(java.lang.String msg)
Output an error message in the Modelio console.
|
void |
error(java.lang.Throwable t)
Log the given exception with its stack trace as an error.
|
void |
info(java.lang.String msg)
Output an information message in the Modelio console.
|
void |
info(java.lang.Throwable t)
Log the given exception with its stack trace as an information.
|
void |
warning(java.lang.String msg)
Output a warning message in the Modelio console.
|
void |
warning(java.lang.Throwable t)
Log the given exception with its stack trace as a warning.
|
void error(java.lang.Throwable t)
This method send logs on Modelio console only if the logs have been activated. The file and line of the log is displayed in the Modelio console before the message.
t
- an exception to be displayed as a log.void error(java.lang.String msg)
This method send logs on Modelio console only if the logs have been activated. The file and line of the log is displayed in the Modelio console before the message.
msg
- a message to be displayed as a log.void info(java.lang.Throwable t)
This method send logs on Modelio console only if the logs have been activated. The file and line of the log is displayed in the Modelio console before the message.
t
- an exception to be displayed as a log.void info(java.lang.String msg)
This method send logs on Modelio console only if the logs have been activated. The file and line of the log is displayed in the Modelio console before the message.
msg
- a message to be displayed as a log.void warning(java.lang.Throwable t)
This method send logs on Modelio console only if the logs have been activated. The file and line of the log is displayed in the Modelio console before the message.
t
- an exception to be displayed as a log.void warning(java.lang.String msg)
This method send logs on Modelio console only if the logs have been activated. The file and line of the log is displayed in the Modelio console before the message.
msg
- a message to be displayed as a log.