APISonar


org.restheart.utils.LogUtils.log

> org > restheart > utils > LogUtils > log
org APIs restheart APIs utils APIs LogUtils APIs log APIs

Example 1
public void init(Map<String, Object> confArgs) {
        
        try {
            LogUtils.log(
                    LOGGER, 
                    logLevelArg(confArgs), 
                    "{}", 
                    messageArg(confArgs));

        } catch(IllegalArgumentException iae) {
            LOGGER.warn("{}", iae.getMessage());
        }
    }