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

org.loguno.processor.configuration.ConfigurationKeys Maven / Gradle / Ivy

The newest version!
package org.loguno.processor.configuration;


import org.loguno.processor.handlers.Frameworks;

public class ConfigurationKeys {

    public static final String CLASS_PATTERN = "{class}";
    public static final String METHOD_PATTERN = "{method}";

    public static final ConfigurationKey ENABLE = ConfigurationKey.of("loguno.enable",
            "is loguno processing enabled", Boolean::valueOf);

    public static final ConfigurationKey METHOD_MESSAGE_PATTERN_DEFAULT = ConfigurationKey.of("loguno.method.message.default",
            "Default message for method invocation logging");

    public static final ConfigurationKey LOCVAR_MESSAGE_PATTERN_DEFAULT = ConfigurationKey.of("loguno.localvar.message.default",
            "Default message for logging one local variable");

    public static final ConfigurationKey METHODPARAM_MESSAGE_PATTERN_DEFAULT = ConfigurationKey.of("loguno.methodparam.message.default",
            "Default message for logging one method parameter");

    public static final ConfigurationKey LOG_METHOD_DEFAULT = ConfigurationKey.of("loguno.log.method.default",
            "Default log method");

    public static final ConfigurationKey ERR_METHOD_DEFAULT = ConfigurationKey.of("loguno.err.method.default",
            "Default err method");

    public static final ConfigurationKey CATCH_MESSAGE_PATTERN_DEFAULT = ConfigurationKey.of("loguno.catch.message.default",
            "Default message for exception catching");

    public static final ConfigurationKey LOGGING_FRAMEWORK_DEFAULT = ConfigurationKey.of("loguno.logging.framework.default",
            "Default logging framework", Frameworks::valueOf);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy