Modifier and Type | Field and Description |
---|---|
private java.util.logging.Level |
level |
private java.util.logging.Logger |
logger |
private java.util.logging.Level |
previousLevel |
Constructor and Description |
---|
UtilChangeLogLevelCommand(java.util.logging.Level level)
Creates a command to change the log level.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Execute()
Executes a command
|
java.lang.String |
GetHeader()
Gets the new server header associated with the request.
|
java.lang.String |
GetResponse()
Gets the response for the server.
|
boolean |
Unexecute()
Unexecutes a command.
|
private java.util.logging.Logger logger
private java.util.logging.Level level
private java.util.logging.Level previousLevel
public UtilChangeLogLevelCommand(java.util.logging.Level level)
level
- The new log level.public boolean Execute()
ICommand
public boolean Unexecute()
ICommand
public java.lang.String GetResponse()
ICommand
GetResponse
in interface ICommand