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

org.keycloak.subsystem.as7.logging.KeycloakLogger Maven / Gradle / Ivy

There is a newer version: 15.0.2
Show newest version
/*
 * Copyright 2016 Red Hat, Inc. and/or its affiliates
 * and other contributors as indicated by the @author tags.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.keycloak.subsystem.as7.logging;

import org.jboss.logging.BasicLogger;
import org.jboss.logging.LogMessage;
import org.jboss.logging.Logger;
import org.jboss.logging.Message;
import org.jboss.logging.MessageLogger;

import static org.jboss.logging.Logger.Level.DEBUG;
import static org.jboss.logging.Logger.Level.INFO;

/**
 * This interface to be fleshed out later when error messages are fully externalized.
 *
 * @author Stan Silvert [email protected] (C) 2013 Red Hat Inc.
 */
@MessageLogger(projectCode = "KEYCLOAK")
public interface KeycloakLogger extends BasicLogger {

    /**
     * A logger with a category of the package name.
     */
    KeycloakLogger ROOT_LOGGER = Logger.getMessageLogger(KeycloakLogger.class, "org.jboss.keycloak");

    @LogMessage(level = INFO)
    @Message(value = "Keycloak subsystem override for deployment %s")
    void deploymentSecured(String deployment);

    @LogMessage(level = DEBUG)
    @Message(value = "Keycloak has overriden and secured deployment %s")
    void warSecured(String deployment);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy