APISonar


org.openide.ErrorManager.log

> org > openide > ErrorManager > log
org APIs openide APIs ErrorManager APIs log APIs

Example 1
private static ErrorManager err = ErrorManager.getDefault().getInstance(
            OutlineViewDropSupport.class.getName());

    private static void log(String s) {
        if (LOGABLE) {
            err.log(s);
        }
    }
Example 2
private static final ErrorManager err =
            ErrorManager.getDefault().getInstance("org.netbeans.modules.javadoc.search.IndexBuilder"); // NOI18N;

    private IndexBuilder() {
        this.jdocRegs = JavadocRegistry.getDefault();
        this.jdocRegs.addChangeListener(this);
        if (err.isLoggable(ErrorManager.INFORMATIONAL)) {
            err.log("new IndexBuilder");
        }
    }