public class Global
extends java.lang.Object
| Constructor and Description |
|---|
Global()
Initialize.
|
| Modifier and Type | Method and Description |
|---|---|
LogEveryDay |
getErrorLog()
Returns server error log.
|
LogDelete |
getLogDelete()
Returns instance of delete log.
|
LogEveryDay |
getServerLog()
Returns server log.
|
void |
setErrorLogEnable(LogSettings logSettings)
Set the error log file path and storage period.
|
void |
setErrorLogEnable(java.util.function.Supplier<LogSettings> errorLogEnable)
Set enable that server error log.
|
void |
setServerLogEnable(LogSettings logSettings)
Set the log file path and storage period.
|
void |
setServerLogEnable(java.util.function.Supplier<LogSettings> logEnable)
Set enable that server log.
|
public void setServerLogEnable(java.util.function.Supplier<LogSettings> logEnable)
logEnable - enablepublic void setServerLogEnable(LogSettings logSettings)
logSettings - logging settings.public void setErrorLogEnable(java.util.function.Supplier<LogSettings> errorLogEnable)
errorLogEnable - enablepublic void setErrorLogEnable(LogSettings logSettings)
logSettings - logging settings.public LogEveryDay getServerLog()
public LogEveryDay getErrorLog()
public LogDelete getLogDelete()