21 lines
679 B
Java
21 lines
679 B
Java
package ProjectElectricLocomotive;
|
|
|
|
import org.apache.logging.log4j.*;
|
|
|
|
public class Main {
|
|
private static Logger logger = LogManager.getLogger(Main.class);
|
|
|
|
public static void main(String[] args)
|
|
{
|
|
System.setProperty("log4j.configurationFile", "C:\\code\\java\\ProjectElectricLocomotive\\loggerFile.xml");
|
|
|
|
new FrameLocomotiveCollection(LogManager.getLogger("logger"));
|
|
//FrameLocomotiveCollection frameLocomotiveCollection = new FrameLocomotiveCollection(LogManager.getLogger("logger"));
|
|
// new FormLocomotiveCollections(LogManager.getLogger(FormLocomotiveCollections.class));
|
|
|
|
|
|
logger.info("hello");
|
|
|
|
}
|
|
}
|