# Log
This document describes how the Sermant plugin uses the log function.
Considering dependency isolation, Sermant core module (opens new window) provides the plugin
and service
to use jul log. Get the jul log instance by:
import com.huaweicloud.sermant.core.common.LoggerFactory;
Logger logger=LoggerFactory.getLogger();
To print logs of different levels:
LOGGER.severe("severe");
LOGGER.warning("warning");
LOGGER.info("info");
LOGGER.fine("fine");