public class LogRecorder extends Logger
Logger.SlaveLogger, Logger.StringBuilderLogger
BLUE_COLOR, DEFAULT_LOGGER, ERROR_COLOR, GREEN_COLOR, IJ_LOGGER, IJTOOLBAR_LOGGER, NORMAL_COLOR, VOID_LOGGER
out
Constructor and Description |
---|
LogRecorder(Logger source) |
Modifier and Type | Method and Description |
---|---|
void |
error(String message)
Send the message to the error channel of this logger.
|
void |
log(String message,
Color color)
Append the message to the logger, with the specified color.
|
void |
setProgress(double val)
Set the progress value of the process logged by this logger.
|
void |
setStatus(String status)
Set the status to be displayed by this logger.
|
String |
toString() |
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
public LogRecorder(Logger source)
public void log(String message, Color color)
Logger
public void error(String message)
Logger
public void setProgress(double val)
Logger
setProgress
in class Logger
val
- the progress value (double from 0 to 1).public void setStatus(String status)
Logger
Copyright © 2015–2021 Fiji. All rights reserved.