Using Logging

Using the SpatialManager class, you can turn on logging, for example to a file /tmp/spatial.log. You can alternatively send formatted log records to an existing writer object.

To turn logging on

SpatialManager.setLogWriter("/tmp/spatial.log");
SpatialManager.setLogLevel(Logger.WARNING);

To turn logging off

SpatialManager.setLogLevel(Logger.OFF);

Copyright© 2019 HCL Technologies Limited