Interface LogManager
public interface LogManager
Provides access to logging and message display routines. Available in the
Beanshell scripting interface as "mm.logs()" or "mm.getLogManager()".
-
Method Summary
Modifier and TypeMethodDescriptionvoidlogDebugMessage(String message) Log a message to the core log, only if debug logging is currently enabled.voidWrites a stacktrace to the Micro-Manager log.voidWrites the stacktrace and a message to the Micro-Manager log (Corelog.txt).voidWrites an error to the Micro-Manager log (same as logMessage).voidlogMessage(String msg) Adds a message to the Micro-Manager log (found in Corelogtxt).voidShows and logs a Java exception.voidShows and logs a Java exception.voidShows an error in the UI and logs stacktrace to the Micro-Manager log.voidShows an error in the UI and logs stacktrace to the Micro-Manager log.voidShows an error message in the UI and logs to the Micro-Manager log.voidShows an error message in the UI and logs to the Micro-Manager log.voidshowMessage(String msg) Shows a message in the UI.voidshowMessage(String msg, Component parent) Shows a message in the UI.
-
Method Details
-
logMessage
Adds a message to the Micro-Manager log (found in Corelogtxt).- Parameters:
msg- - message to be added to the log
-
showMessage
-
showMessage
-
logError
-
logError
Writes a stacktrace to the Micro-Manager log.- Parameters:
e- - Java exception to be logged
-
logError
Writes an error to the Micro-Manager log (same as logMessage).- Parameters:
msg- - message to be logged
-
showError
-
showError
Shows and logs a Java exception.- Parameters:
e- - Java excpetion to be shown and logged
-
showError
Shows an error message in the UI and logs to the Micro-Manager log.- Parameters:
msg- - error message to be shown and logged
-
showError
-
showError
-
showError
-
logDebugMessage
Log a message to the core log, only if debug logging is currently enabled.- Parameters:
message- Message to be logged.
-