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

org.jekh.appenders.GenericLogEvent Maven / Gradle / Ivy

The newest version!
package org.jekh.appenders;

import java.time.Instant;
import java.util.Map;

public interface GenericLogEvent {
    /**
     * @return the MDC from the underlying logger implementation. Cannot return null, even if the MDC is not supported by the underlying logger.
     */
    Map getMdc();

    String getFormattedMessage();

    Instant getTimestamp();

    String getLoggerName();

    String getLevelAsString();

    String getThreadName();

    String getExceptionAsString();

    StackTraceElement getSource();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy