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

no.nav.common.audit_log.log.AuditLogger Maven / Gradle / Ivy

There is a newer version: 2.2023.01.10_13.49-81ddc732df3a
Show newest version
package no.nav.common.audit_log.log;

import no.nav.common.audit_log.cef.CefMessage;

public interface AuditLogger {

    /**
     * Write a CEF message to the logger.
     * This is the recommended way to audit log.
     * @param message the CEF formatted message that will be written to the audit log
     */
    void log(CefMessage message);

    /**
     * Write a raw message to the logger.
     * Can be used to write raw messages to the audit log, the user is responsible for the message format.
     * @param message the raw message that will be written to the audit log
     */
    void log(String message);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy