BEAST
|
Interface for supporting log messages belonging to various modules. More...
Public Member Functions | |
LogMessage | getMessage (String ecode) |
Returns a log message for the specified error code. | |
String | getModule (String ecode) |
Returns the module this error code belongs to. | |
List< LogMessage > | getModuleMessages () |
Returns all messages belonging to a specific module. | |
String | getMessage (String code, String message, Object... args) |
Returns a message for specified module, code. | |
Interface for supporting log messages belonging to various modules.
String eu.baltrad.beast.log.message.ILogMessageRepository.getMessage | ( | String | code, |
String | message, | ||
Object... | args ) |
Returns a message for specified module, code.
The provided message is the default format string if no message can be found.
module | the module |
code | the error code |
message | the default message |
args | the argument list |
Implemented in eu.baltrad.beast.log.message.LogMessageRepository.
LogMessage eu.baltrad.beast.log.message.ILogMessageRepository.getMessage | ( | String | ecode | ) |
Returns a log message for the specified error code.
ecode | the error code |
Implemented in eu.baltrad.beast.log.message.LogMessageRepository.
String eu.baltrad.beast.log.message.ILogMessageRepository.getModule | ( | String | ecode | ) |
Returns the module this error code belongs to.
ecode | the error code |
Implemented in eu.baltrad.beast.log.message.LogMessageRepository.
List< LogMessage > eu.baltrad.beast.log.message.ILogMessageRepository.getModuleMessages | ( | ) |
Returns all messages belonging to a specific module.
The map has error codes as keys and log messages as values.
module | the specific module |
Implemented in eu.baltrad.beast.log.message.LogMessageRepository.