Interface IMetaLogger
public interface IMetaLogger
Interface to handle meta-data errors during initialization. Logs errors due
to missing a rom.def file, rom.def parser errors, meta-data build errors,
etc.
The class that is interested in the errors may implement this interface.
Then, create an instance of that class and register it with
MetaLogManager, using the static registerLogger method.
When an error occurs during parsing of the meta-data file, the parser calls
the log method of the custom logger.- See Also:
-
MetaLogManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Release the logger, implement this method to do clean up of the logger, close the writer, release a lock, etc.voidLog an error message.voidLog a message object including the stack trace of the Throwable t passed as parameter.
-
Method Details
-
log
Log an error message.- Parameters:
message- the message object to be logged.
-
log
Log a message object including the stack trace of the Throwable t passed as parameter.- Parameters:
message- the message object to be logged.t- the exception to log, including its stack trace.
-
close
void close()Release the logger, implement this method to do clean up of the logger, close the writer, release a lock, etc. This method is called byMetaLogManager.shutDown().
-