MCPcopy Create free account
hub / github.com/Frontrooms/3.0-GC / logObject

Method logObject

src/main/java/emu/grasscutter/utils/Utils.java:159–162  ·  view source on GitHub ↗

Logs an object to the console. @param object The object to log.

(Object object)

Source from the content-addressed store, hash-verified

157 * @param object The object to log.
158 */
159 public static void logObject(Object object) {
160 String asJson = Grasscutter.getGsonFactory().toJson(object);
161 Grasscutter.getLogger().info(asJson);
162 }
163
164 /**
165 * Checks for required files and folders before startup.

Callers 1

loadPluginsMethod · 0.95

Calls 2

getGsonFactoryMethod · 0.95
getLoggerMethod · 0.95

Tested by

no test coverage detected