Package net.sourceforge.marathon.api

Source Code of net.sourceforge.marathon.api.RuntimeLogger

package net.sourceforge.marathon.api;

import net.sourceforge.marathon.runtime.NullLogger;

public class RuntimeLogger {

    private static ILogger runtimeLogger;

    public static void setRuntimeLogger(ILogger logViewLogger) {
        runtimeLogger = logViewLogger;
    }

    public static ILogger getRuntimeLogger() {
        if(runtimeLogger == null)
            return new NullLogger();
        return runtimeLogger;
    }
}
TOP

Related Classes of net.sourceforge.marathon.api.RuntimeLogger

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.