package openccsensors.common.util;

import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.Logger;

import cpw.mods.fml.common.FMLLog;

public class OCSLog {

	private static Logger logger;

	public static void info(String format, Object... data) {
		log(Level.INFO, format, data);
	}

	public static void init() {
		logger = FMLLog.getLogger();
	}

	public static void log(Level level, String format, Object... data) {
		logger.log(level, String.format(format, data));
	}

	public static void severe(String format, Object... data) {
		log(Level.ERROR, format, data);
	}

	public static void warn(String format, Object... data) {
		log(Level.WARN, format, data);
	}

}
@@ -107,47 +107,55 @@
 .Log
+Mana
 ger;%0A
-%0A
 import 
-cpw.mods.fml.common.FMLLog
+org.apache.logging.log4j.Logger
 ;%0A%0Ap
@@ -347,25 +347,53 @@
 r = 
-FMLLog.getLogger(
+LogManager.getFormatterLogger(%22OpenCCSensors%22
 );%0A%09

fix logging