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 Details

    • setLogfile

      public static void setLogfile​(File logfile)
      Initialise the logging subsystem to log to the correct file.

      Note that this reads system properties, and probably should only be called once.

      Parameters:
      logfile - The path where the log should write.