mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Added logError method.
This commit is contained in:
parent
aa1054f470
commit
985b3ca34e
1 changed files with 9 additions and 3 deletions
|
@ -320,10 +320,16 @@ public class CUIPlugin extends AbstractUIPlugin {
|
|||
getDefault().getLog().log(status);
|
||||
}
|
||||
|
||||
public void logErrorMessage(String message) {
|
||||
log(new Status(IStatus.ERROR, getPluginId(), ICStatusConstants.INTERNAL_ERROR, message, null));
|
||||
/**
|
||||
* @noreference This method is not intended to be referenced by clients.
|
||||
*/
|
||||
public static void logError(String message) {
|
||||
log(message, null);
|
||||
}
|
||||
|
||||
public void logErrorMessage(String message) {
|
||||
log(new Status(IStatus.ERROR, PLUGIN_ID, ICStatusConstants.INTERNAL_ERROR, message, null));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Utility method with conventions
|
||||
|
|
Loading…
Add table
Reference in a new issue