X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/internal/Trace.java b/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/internal/Trace.java index 550cd7d..db21a7c 100644 --- a/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/internal/Trace.java +++ b/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/internal/Trace.java @@ -1,22 +1,27 @@ /** * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved.   This program and the accompanying materials + * All rights reserved. � This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - * + �* * Contributors: * IBM - Initial API and implementation */ package net.sourceforge.phpeclipse.webbrowser.internal; + /** * Helper class to route trace output. */ public class Trace { public static int CONFIG = 0; + public static int WARNING = 2; + public static int SEVERE = 3; + public static int FINER = 4; + public static int FINEST = 5; /** @@ -28,8 +33,9 @@ public class Trace { /** * Trace the given text. - * - * @param s java.lang.String + * + * @param s + * java.lang.String */ public static void trace(int level, String s) { Trace.trace(level, s, null); @@ -37,9 +43,11 @@ public class Trace { /** * Trace the given message and exception. - * - * @param s java.lang.String - * @param t java.lang.Throwable + * + * @param s + * java.lang.String + * @param t + * java.lang.Throwable */ public static void trace(int level, String s, Throwable t) { if (!WebBrowserUIPlugin.getInstance().isDebugging())