Adds an access log to this adapter. @param log The access log to add
(AccessLog log)
| 46 | * @param log The access log to add |
| 47 | */ |
| 48 | public void add(AccessLog log) { |
| 49 | Objects.requireNonNull(log); |
| 50 | AccessLog[] newArray = Arrays.copyOf(logs, logs.length + 1); |
| 51 | newArray[newArray.length - 1] = log; |
| 52 | logs = newArray; |
| 53 | } |
| 54 | |
| 55 | @Override |
| 56 | public void log(Request request, Response response, long time) { |