Package com.intellij.openapi.diagnostic

Examples of com.intellij.openapi.diagnostic.Logger$Factory


        VirtualFileManager.getInstance().addVirtualFileListener(FS_LISTENER);

        //
        //disable http-client logger as it is quite verbose
        //
        final Logger logger = Logger.getInstance(HttpMethodBase.class.getName());
        logger.setLevel(Level.ERROR);

        //
        //register the ".jelly" file extension as an XML file
        //
        FileTypeManager.getInstance().registerFileType(StdFileTypes.XML, JELLY_EXTENSIONS);
View Full Code Here


        //nothing to init
    }

    @Override
    public void log(int i, String s) {
        Logger log = JUnitGeneratorUtil.getLogger(LogAdapter.class);

        switch (i) {
            case LogChute.TRACE_ID:
            case LogChute.DEBUG_ID:
                log.debug(s);
                break;
            case LogChute.INFO_ID:
                log.info(s);
                break;
            case LogChute.WARN_ID:
                log.warn(s);
                break;
            case LogChute.ERROR_ID:
                log.error(s);
                break;
            default:
                log.warn(s);
        }
    }
View Full Code Here

        }
    }

    @Override
    public void log(int i, String s, Throwable throwable) {
        Logger log = JUnitGeneratorUtil.getLogger(LogAdapter.class);

        switch (i) {
            case LogChute.TRACE_ID:
            case LogChute.DEBUG_ID:
                log.debug(s, throwable);
                break;
            case LogChute.INFO_ID:
                log.info(s, throwable);
                break;
            case LogChute.WARN_ID:
                log.warn(s, throwable);
                break;
            case LogChute.ERROR_ID:
                log.error(s, throwable);
                break;
            default:
                log.warn(s, throwable);
        }
    }
View Full Code Here

TOP

Related Classes of com.intellij.openapi.diagnostic.Logger$Factory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.