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

io.quarkus.websockets.next.TrafficLoggingConfig Maven / Gradle / Ivy

There is a newer version: 3.17.2
Show newest version
package io.quarkus.websockets.next;

import io.smallrye.config.WithDefault;

public interface TrafficLoggingConfig {

    /**
     * If set to true then binary/text messages received/sent are logged if the {@code DEBUG} level is enabled for the
     * logger {@code io.quarkus.websockets.next.traffic}.
     */
    @WithDefault("false")
    public boolean enabled();

    /**
     * The number of characters of a text message which will be logged if traffic logging is enabled. The payload of a
     * binary message is never logged.
     */
    @WithDefault("100")
    public int textPayloadLimit();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy