Examples of DebugLog


Examples of com.onarandombox.MultiverseCore.utils.DebugLog

            getServer().getPluginManager().disablePlugin(this);
            return;
        }
        // Turn on Logging and register ourselves with Core
        log.info(logPrefix + "- Version " + this.getDescription().getVersion() + " Enabled - By " + getAuthors());
        debugLog = new DebugLog("Multiverse-Portals", getDataFolder() + File.separator + "debug.log");
        this.core.incrementPluginCount();

        // Register our commands
        this.registerCommands();
View Full Code Here

Examples of com.onarandombox.MultiverseCore.utils.DebugLog

        try {
            debugLogFile.createNewFile();
        } catch (IOException e) {
            e.printStackTrace();
        }
        debugLog = new DebugLog(this.getDescription().getName(), getDataFolder() + File.separator + "debug.log");
        debugLog.setTag(String.format("[%s-Debug]", this.getDescription().getName()));

        this.onPluginEnable();
    }
View Full Code Here

Examples of net.aufdemrand.denizen.utilities.debugging.DebugLog

                dB.echoError(scriptEntry.getResidingQueue(), e);
            }
            return;
        }

        DebugLog log = new DebugLog("Denizen-ScriptLog-" + fileName, file.getAbsolutePath());

        switch(type) {
            case SEVERE:
                log.severe(output);
                break;

            case INFO:
                log.info(output);
                break;

            case WARNING:
                log.warning(output);
                break;

            case FINE:
                log.fine(output);
                break;

            case FINER:
                log.finer(output);
                break;

            case FINEST:
                log.finest(output);
        }

        log.close();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.