MCPcopy Index your code
hub / github.com/apache/tomcat / add

Method add

java/org/apache/catalina/core/AccessLogAdapter.java:48–53  ·  view source on GitHub ↗

Adds an access log to this adapter. @param log The access log to add

(AccessLog log)

Source from the content-addressed store, hash-verified

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) {

Callers 1

getAccessLogMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected