Class LogControl
java.lang.Object
uk.ac.manchester.spinnaker.front_end.LogControl
public final class LogControl extends Object
Utilities for working with the log. This should be the only place in our
Java code that directly talks about log4j.
- Author:
- Donal Fellows
-
Method Summary
Modifier and Type Method Description static void
setLoggerDir(File directory)
Initialise the logging subsystem to log to the correct directory.
-
Method Details
-
setLoggerDir
Initialise the logging subsystem to log to the correct directory.Note that this reads system properties, and probably should only be called once.
- Parameters:
directory
- The directory where the log should written inside.
-