Class LoggerParameters
java.lang.Object
log.LoggerParameters
Parameters of a JMT logger: the path, name and options of the output file written during a simulation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringbooleanstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
isEnabled
public volatile boolean isEnabled -
name
-
path
-
boolExecTimestamp
-
boolLoggername
-
boolTimeStamp
-
boolJobID
-
boolJobClass
-
boolTimeSameClass
-
boolTimeAnyClass
-
LOGGER_AR_ASK
public static final int LOGGER_AR_ASK- See Also:
-
LOGGER_AR_REPLACE
public static final int LOGGER_AR_REPLACE- See Also:
-
LOGGER_AR_APPEND
public static final int LOGGER_AR_APPEND- See Also:
-
GLOBALLOGNAME
- See Also:
-
-
Constructor Details
-
LoggerParameters
public LoggerParameters()Creates a logger with default parameters. -
LoggerParameters
-
-
Method Details
-
clone
-
toString
-
isEnabled
public boolean isEnabled()Convenience: Calculates if the logger should log to a file- Returns:
- Returns true if (1) the logger is enabled, and (2) if there is something to log
-
enable
public boolean enable() -
disable
public void disable() -
isGlobal
public boolean isGlobal()
-