KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > part > components > services > ISystemLog


1 /*******************************************************************************
2  * Copyright (c) 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.ui.internal.part.components.services;
12
13 import org.eclipse.core.runtime.IStatus;
14
15 /**
16  * Service for logging errors. Messages logged using this interface are intended
17  * to be read by the application developer, and will not normally be shown to the
18  * end-user. Implementations of this interface will determine where exceptions and
19  * errors should be recorded.
20  *
21  * <p>
22  * Not intended to be implemented by clients.
23  * </p>
24  *
25  * <p>EXPERIMENTAL: The components framework is currently under active development. All
26  * aspects of this class including its existence, name, and public interface are likely
27  * to change during the development of Eclipse 3.1</p>
28  *
29  * @since 3.1
30  */

31 public interface ISystemLog {
32     
33     /**
34      * Writes the given status message to the log.
35      *
36      * @param toLog status message to log
37      */

38     public void log(IStatus toLog);
39     
40     /**
41      * Writes the given exception to the log.
42      *
43      * @param t the exception to log
44      */

45     public void log(Throwable JavaDoc t);
46 }
47
Popular Tags