Class SimulationLoggerUtil

java.lang.Object
fr.ifremer.isisfish.logging.SimulationLoggerUtil

public class SimulationLoggerUtil extends Object
FIXME poussin, a priori cette classe ne supporte pas plusieurs simulation en meme temps, ce qui est le cas si on a plusieurs processeurs de dispo :( Usefull class for dealing with hot configuration of log4J. this is temporary we must find a way to abstract this layer. #removeAppender(String, String) to remove a appender of a simulation
Author:
chemit
  • Field Details

  • Constructor Details

    • SimulationLoggerUtil

      public SimulationLoggerUtil()
  • Method Details

    • showSimulationLogConsole

      public static void showSimulationLogConsole(Component parent, String simulationName) throws IOException
      Open a new log console for the given simulation
      Parameters:
      simulationName - name of the simulation to use
      Throws:
      IOException
    • setPlanLoggingContext

      public static void setPlanLoggingContext(String id)
    • clearPlanLoggingContext

      public static void clearPlanLoggingContext()