| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.nierbeck.timeTrack.TimeTrackLog
public final class TimeTrackLog
The logger of convenience for the TimeTrack plug-in. taken from the example given by "how to build comercial grade plugins"
| Method Summary | |
|---|---|
| static org.eclipse.core.runtime.IStatus | createStatus(int severity,
             int code,
             java.lang.String message,
             java.lang.Throwable exception)Create a status object representing the specified information. 38 TChapterT 3 Eclipse Infrastructure | 
| static void | log(int severity,
    int code,
    java.lang.String message,
    java.lang.Throwable exception)Log the specified information. | 
| static void | log(org.eclipse.core.runtime.IStatus status)Log the given status. | 
| static void | logError(java.lang.String message,
         java.lang.Throwable exception)Log the specified error. | 
| static void | logError(java.lang.Throwable exception)Log the specified error. 3.6. | 
| static void | logInfo(java.lang.String message)Log the specified information. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static void logInfo(java.lang.String message)
message - a human-readable message, localized to the current localepublic static void logError(java.lang.Throwable exception)
exception - a low-level exception
public static void logError(java.lang.String message,
                            java.lang.Throwable exception)
message - a human-readable message, localized to the current localeexception - a low-level exception, or null if not
            applicable
public static void log(int severity,
                       int code,
                       java.lang.String message,
                       java.lang.Throwable exception)
severity - the severity; one of IStatus.OK,
            IStatus.ERROR, IStatus.INFO,
            or IStatus.WARNINGcode - - the plug-in-specific status code, or OKmessage - - a human-readable message, localized to the current localeexception - - a low-level exception, or null if not applicable
public static org.eclipse.core.runtime.IStatus createStatus(int severity,
                                                            int code,
                                                            java.lang.String message,
                                                            java.lang.Throwable exception)
severity - - 
            the severity; one of IStatus.OK,
            IStatus.ERROR, IStatus.INFO,
            or IStatus.WARNINGcode - the plug-in-specific status code, or OKmessage - a human-readable message, localized to the current localeexception - a low-level exception, or null if not
            applicable
null)public static void log(org.eclipse.core.runtime.IStatus status)
status - the status to log| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||