Class NeqSimLogging
java.lang.Object
neqsim.util.NeqSimLogging
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidReset all loggers to their default configuration based on log4j2.properties.static voidsetGlobalLogging(String level) Set global logging for all neqsim classes.private static org.apache.logging.log4j.LevelstringToLevel(String level) Convert a string to a Log4j2 Level.
-
Field Details
-
logger
private static final org.apache.logging.log4j.Logger logger
-
-
Constructor Details
-
NeqSimLogging
public NeqSimLogging()
-
-
Method Details
-
setGlobalLogging
Set global logging for all neqsim classes.- Parameters:
level- the logging level (e.g., DEBUG, INFO, WARN, ERROR)
-
stringToLevel
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.
-