source: trunk/JavaHelperLib/src/de/ugoe/cs/util/console/listener/ITraceListener.java @ 199

Last change on this file since 199 was 199, checked in by sherbold, 13 years ago

Major change to the Console provided by this library. The interface de.ugoe.cs.console.ConsoleObserver? is deprecated and split into the five interface IOutputListener, IErrorListener, ITraceListener, IExceptionListener, and ICommandListener.

The rational for this change is to provide the possibility to listen to only parts of what is send to the console to provide better capabilities for target-oriented handling of the different streams, e.g., for exception logging.

  • Property svn:mime-type set to text/plain
File size: 531 bytes
Line 
1package de.ugoe.cs.util.console.listener;
2
3import de.ugoe.cs.util.console.Console;
4
5/**
6 * <p>
7 * Interface for listeners observing traces stream to the {@link Console}.
8 * </p>
9 *
10 * @author Steffen Herbold
11 * @version 1.0
12 */
13public interface ITraceListener {
14        /**
15         * <p>
16         * Receives messages send to the trace stream of the {@link Console}.
17         * </p>
18         *
19         * TODO: rename method to traceMsg()
20         *
21         * @param traceMesssage
22         *            error message
23         */
24        public void trace(String traceMessage);
25}
Note: See TracBrowser for help on using the repository browser.