MCPcopy
hub / github.com/qos-ch/slf4j / warn

Method warn

slf4j-api/src/main/java/org/slf4j/helpers/Reporter.java:169–173  ·  view source on GitHub ↗

Report an internal message of level "WARN". Message text is prefixed with the string "SLF4J(W)", with (W) standing as a shorthand for WARN. Messages of level WARN are be enabled when the #SLF4J_INTERNAL_VERBOSITY_KEY system property is set to "DEBUG", "INFO" or "WARN" and disabled when

(String msg)

Source from the content-addressed store, hash-verified

167 * @param msg the message text
168 */
169 static final public void warn(String msg) {
170 if(isEnabledFor(Level.WARN)) {
171 getTarget().println(SLF4J_WARN_PREFIX + msg);
172 }
173 }
174
175 /**
176 * Report an internal message of level "ERROR accompanied by a {@link Throwable}.

Callers 8

bindMethod · 0.95
replaySingleEventMethod · 0.95
emitReplayWarningMethod · 0.95
versionSanityCheckMethod · 0.95
getLoggerMethod · 0.95

Calls 3

isEnabledForMethod · 0.95
getTargetMethod · 0.95
printlnMethod · 0.45

Tested by

no test coverage detected