MCPcopy Create free account
hub / github.com/elvishew/xLog / assertInitialization

Method assertInitialization

xlog/src/main/java/com/elvishew/xlog/XLog.java:255–259  ·  view source on GitHub ↗

Throw an IllegalStateException if not initialized.

()

Source from the content-addressed store, hash-verified

253 * Throw an IllegalStateException if not initialized.
254 */
255 static void assertInitialization() {
256 if (!sIsInitialized) {
257 throw new IllegalStateException("Do you forget to initialize XLog?");
258 }
259 }
260
261 /**
262 * Start to customize a {@link Logger} and set the log level.

Callers 15

BuilderMethod · 0.95
vMethod · 0.95
dMethod · 0.95
iMethod · 0.95
wMethod · 0.95
eMethod · 0.95
logMethod · 0.95
jsonMethod · 0.95
xmlMethod · 0.95
formatJsonMethod · 0.80
formatXmlMethod · 0.80
formatThrowableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected