public interface LogManager
Modifier and Type | Method and Description |
---|---|
void |
logDebugMessage(java.lang.String message)
Log a message to the core log, only if debug logging is currently
enabled.
|
void |
logError(java.lang.Exception e)
Writes a stacktrace to the Micro-Manager log.
|
void |
logError(java.lang.Exception e,
java.lang.String msg)
Writes the stacktrace and a message to the Micro-Manager log (Corelog.txt).
|
void |
logError(java.lang.String msg)
Writes an error to the Micro-Manager log (same as logMessage).
|
void |
logMessage(java.lang.String msg)
Adds a message to the Micro-Manager log (found in Corelogtxt).
|
void |
showError(java.lang.Exception e)
Shows and logs a Java exception.
|
void |
showError(java.lang.Exception e,
java.awt.Component parent)
Shows and logs a Java exception.
|
void |
showError(java.lang.Exception e,
java.lang.String msg)
Shows an error in the UI and logs stacktrace to the Micro-Manager log.
|
void |
showError(java.lang.Exception e,
java.lang.String msg,
java.awt.Component parent)
Shows an error in the UI and logs stacktrace to the Micro-Manager log.
|
void |
showError(java.lang.String msg)
Shows an error message in the UI and logs to the Micro-Manager log.
|
void |
showError(java.lang.String msg,
java.awt.Component parent)
Shows an error message in the UI and logs to the Micro-Manager log.
|
void |
showMessage(java.lang.String msg)
Shows a message in the UI.
|
void |
showMessage(java.lang.String msg,
java.awt.Component parent)
Shows a message in the UI.
|
void logMessage(java.lang.String msg)
msg
- - message to be added to the logvoid showMessage(java.lang.String msg)
msg
- - message to be shownvoid showMessage(java.lang.String msg, java.awt.Component parent)
msg
- - message to be shownparent
- - parent component over which this message should be centeredvoid logError(java.lang.Exception e, java.lang.String msg)
e
- - Java exception to be loggedmsg
- - message to be shownvoid logError(java.lang.Exception e)
e
- - Java exception to be loggedvoid logError(java.lang.String msg)
msg
- - message to be loggedvoid showError(java.lang.Exception e, java.lang.String msg)
e
- - Java exception to be shown and loggedmsg
- - Error message to be shown and loggedvoid showError(java.lang.Exception e)
e
- - Java excpetion to be shown and loggedvoid showError(java.lang.String msg)
msg
- - error message to be shown and loggedvoid showError(java.lang.Exception e, java.lang.String msg, java.awt.Component parent)
e
- - Java exception to be shown and loggedmsg
- - Error message to be shown and loggedparent
- - frame in which to show dialog, or null for callervoid showError(java.lang.Exception e, java.awt.Component parent)
e
- - Java exception to be shown and loggedparent
- - frame in which to show dialog, or null for callervoid showError(java.lang.String msg, java.awt.Component parent)
msg
- - error message to be shown and loggedparent
- - frame in which to show dialog, or null for callervoid logDebugMessage(java.lang.String message)
message
- Message to be logged.