All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.runsidekick.audit.logger.providers.AuditLoggerProvider Maven / Gradle / Ivy

There is a newer version: 0.0.17
Show newest version
package com.runsidekick.audit.logger.providers;

import org.slf4j.Logger;
import org.springframework.web.context.WebApplicationContext;

/**
 * @author yasin.kalafat
 */
public interface AuditLoggerProvider {

    String getUserId();

    String getUserEmail();

    String getAccountId();

    String getIpAddress();

    String getApplicationName();

    Logger getLogger();

    default boolean hasUserInfo() {
        return true;
    }

    default String getStackScope() {
        return WebApplicationContext.SCOPE_REQUEST;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy