public interface ILogService
Modifier and Type | Method and Description |
---|---|
void |
error(IMdac module,
String msg)
Output an error message in the Modelio console.
|
void |
error(IMdac module,
Throwable t)
Log the given exception with its stack trace as an error.
|
void |
info(IMdac module,
String msg)
Output an information message in the Modelio console.
|
void |
info(IMdac module,
Throwable t)
Log the given exception with its stack trace as an information.
|
void |
warning(IMdac module,
String msg)
Output a warning message in the Modelio console.
|
void |
warning(IMdac module,
Throwable t)
Log the given exception with its stack trace as a warning.
|
void info(IMdac module, 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.
module
- the module providing the error.msg
- a message to be displayed as a log.void warning(IMdac module, 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.
module
- the module providing the error.msg
- a message to be displayed as a log.void error(IMdac module, 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.
module
- the module providing the error.msg
- a message to be displayed as a log.void info(IMdac module, 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.
module
- the module providing the exception.t
- an exception to be displayed as a log.void warning(IMdac module, 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.
module
- the module providing the exception.t
- an exception to be displayed as a log.void error(IMdac module, 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.
module
- the module providing the exception.t
- an exception to be displayed as a log.