-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathDevToolsCommandLoggingOptions.java
More file actions
41 lines (36 loc) · 1.18 KB
/
DevToolsCommandLoggingOptions.java
File metadata and controls
41 lines (36 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package aquality.selenium.logging;
/**
* DevTools Command/Result logging options.
*/
public class DevToolsCommandLoggingOptions {
private LoggingParameters command = new LoggingParameters(true, LogLevel.INFO);
private LoggingParameters result = new LoggingParameters(true, LogLevel.INFO);
/**
* Gets logging parameters for command info: name and parameters (if any).
* @return command info logging parameters.
*/
public LoggingParameters getCommand() {
return command;
}
/**
* Sets logging parameters for command info: name and parameters (if any).
* @param command command info logging parameters.
*/
public void setCommand(LoggingParameters command) {
this.command = command;
}
/**
* Gets logging parameters for command result (when it's present).
* @return logging parameters of command result.
*/
public LoggingParameters getResult() {
return result;
}
/**
* Sets logging parameters for command result (when it's present).
* @param result command result logging parameters.
*/
public void setResult(LoggingParameters result) {
this.result = result;
}
}