| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this logger and release any hold resources.
|
static StdOutLogger |
createStderrLogger(@NonNull OnlineExperiment experiment)
Creates logger instance that captures StdErr stream for a given OnlineExperiment.
|
static StdOutLogger |
createStdoutLogger(@NonNull OnlineExperiment experiment)
Creates logger instance that captures StdOut stream for a given OnlineExperiment.
|
void |
flush()
Flushes this logger by flushing intercepted system stream.
|
void |
run() |
public static StdOutLogger createStdoutLogger(@NonNull @NonNull OnlineExperiment experiment) throws IOException
experiment - the OnlineExperiment instanceIOException - if any I/O exception occurs.public static StdOutLogger createStderrLogger(@NonNull @NonNull OnlineExperiment experiment) throws IOException
experiment - the OnlineExperiment instanceIOException - if any I/O exception occurs.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOException - if I/O exception occurs.public void flush()
Copyright © 2022. All rights reserved.