Class NeqSimLogging

java.lang.Object
neqsim.util.NeqSimLogging

public class NeqSimLogging extends Object

NeqSimLogging class.

Author:
esol
  • Field Details

    • logger

      private static final org.apache.logging.log4j.Logger logger
  • Constructor Details

    • NeqSimLogging

      public NeqSimLogging()
  • Method Details

    • setGlobalLogging

      public static void setGlobalLogging(String level)
      Set global logging for all neqsim classes.
      Parameters:
      level - the logging level (e.g., DEBUG, INFO, WARN, ERROR)
    • stringToLevel

      private static org.apache.logging.log4j.Level stringToLevel(String level)
      Convert a string to a Log4j2 Level.
      Parameters:
      level - the string representation of the level
      Returns:
      the corresponding Log4j2 Level
    • resetAllLoggers

      public static void resetAllLoggers()
      Reset all loggers to their default configuration based on log4j2.properties.