1 package net.sourceforge.phpdt.externaltools.model;
3 /**********************************************************************
4 Copyright (c) 2002 IBM Corp. and others. All rights reserved.
5 This file is made available under the terms of the Common Public License v1.0
6 which accompanies this distribution, and is available at
7 http://www.eclipse.org/legal/cpl-v10.html
10 **********************************************************************/
13 * Provides an API for <code>IExternalToolRunner</code> implementors to log
14 * messages captured from the running tool's output.
16 * This interface is not be extended nor implemented by clients.
19 public interface IRunnerLog {
20 public static final int LEVEL_ERROR = 0;
22 public static final int LEVEL_WARNING = 10;
24 public static final int LEVEL_INFO = 20;
26 public static final int LEVEL_VERBOSE = 30;
28 public static final int LEVEL_DEBUG = 40;
31 * Places the specified message text into the log. Ignored if the specified
32 * message level is higher than the current filter level.
35 * the text to add to the log
37 * the message priority
39 public void append(String message, int level);
42 * Returns the current level used for filtering messages. Any calls to
43 * <code>append</code> with a level greater than this filter value will be
46 public int getFilterLevel();