comparison dwtx/jface/util/ILogger.d @ 4:c87617952847

some JFace modules
author Frank Benoit <benoit@tionex.de>
date Fri, 28 Mar 2008 17:08:33 +0100
parents
children
comparison
equal deleted inserted replaced
3:6518c18a01f7 4:c87617952847
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 * Chris Gross (schtoo@schtoo.com) - initial API and implementation
10 * (bug 49497 [RCP] JFace dependency on dwtx.core.runtime enlarges standalone JFace applications)
11 * Port to the D programming language:
12 * Frank Benoit <benoit@tionex.de>
13 *******************************************************************************/
14
15 module dwtx.jface.util.ILogger;
16
17 import dwtx.core.runtime.IStatus;
18
19 /**
20 * A mechanism to log errors throughout JFace.
21 * <p>
22 * Clients may provide their own implementation to change
23 * how errors are logged from within JFace.
24 * </p>
25 *
26 * @see dwtx.jface.util.Policy#getLog()
27 * @see dwtx.jface.util.Policy#setLog(ILogger)
28 * @since 3.1
29 */
30 public interface ILogger {
31
32 /**
33 * Logs the given status.
34 *
35 * @param status the status to log
36 */
37 public void log(IStatus status);
38
39 }