MCPcopy Create free account
hub / github.com/apache/tomcat / log

Method log

java/jakarta/servlet/GenericServlet.java:167–169  ·  view source on GitHub ↗

Writes the specified message to a servlet log file, prepended by the servlet's name. See ServletContext#log(String). @param message a String specifying the message to be written to the log file

(String message)

Source from the content-addressed store, hash-verified

165 * @param message a <code>String</code> specifying the message to be written to the log file
166 */
167 public void log(String message) {
168 getServletContext().log(getServletName() + ": " + message);
169 }
170
171 /**
172 * Writes an explanatory message and a stack trace for a given <code>Throwable</code> exception to the servlet log

Callers

nothing calls this directly

Calls 3

getServletContextMethod · 0.95
getServletNameMethod · 0.95
logMethod · 0.65

Tested by

no test coverage detected