public class Log extends Object
| Constructor and Description |
|---|
Log() |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.core.runtime.IStatus |
createStatus(int aiSeverity,
int aiCode,
String astrMessage,
Throwable aThrowable)
Create a status object representing the specified information.
|
static void |
log(int aiSeverity,
int aiCode,
String astrMessage,
Throwable aThrowable)
Log the specified information.
|
static void |
log(org.eclipse.core.runtime.IStatus aIStatus)
Log the given an instance of
IStatus if available. |
static void |
logDebug(String astrMessage)
Log debugging information
|
static void |
logError(String astrMessage)
Log the specified error.
|
static void |
logError(String astrMessage,
Throwable aThrowable)
Log the specified error.
|
static void |
logError(Throwable aThrowable)
Log the specified error.
|
static void |
logInfo(String astrMessage)
Log the specified information.
|
static void |
logWarning(String astrMessage)
Log the specified warning.
|
public static void logWarning(String astrMessage)
astrMessage - Human-readable message, localized to the current locale.public static void logInfo(String astrMessage)
astrMessage - Human-readable message, localized to the current locale.public static void logDebug(String astrMessage)
astrMessage - public static void logError(Throwable aThrowable)
aThrowable - Any error or exceptionpublic static void logError(String astrMessage, Throwable aThrowable)
astrMessage - A human-readable message, localized to the current locale.aThrowable - A low-level exception, or null if not applicable.public static void logError(String astrMessage)
astrMessage - A human-readable message, localized to the current locale.public static void log(int aiSeverity,
int aiCode,
String astrMessage,
Throwable aThrowable)
aiSeverity - The severity; one of the following: IStatus.OK,IStatus.ERROR,IStatus.INFO, or
IStatus.WARNING.aiCode - The plug-in-specific status code, or OK.astrMessage - A human-readable message, localized to the current locale.aThrowable - A low-level exception, or null if not applicable.public static org.eclipse.core.runtime.IStatus createStatus(int aiSeverity,
int aiCode,
String astrMessage,
Throwable aThrowable)
aiSeverity, - the severity; one of the following: IStatus.OK,IStatus.ERROR,IStatus.INFO, or
IStatus.WARNING.aiCode - The plug-in-specific status code, or OK.astrMessage - A human-readable message, localized to the current locale.aThrowable - A low-level exception, or null if not applicable.null).public static void log(org.eclipse.core.runtime.IStatus aIStatus)
IStatus if available.aIStatus, - the status to log.Copyright © 2005-2012 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.