/*
* Copyright (c) 2014 Red Hat, Inc. and/or its affiliates.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Cheng Fang - Initial API and implementation
*/
package org.jberet.rest._private;
import org.jboss.logging.BasicLogger;
import org.jboss.logging.Logger;
import org.jboss.logging.annotations.Cause;
import org.jboss.logging.annotations.LogMessage;
import org.jboss.logging.annotations.Message;
import org.jboss.logging.annotations.MessageLogger;
import org.jboss.logging.annotations.ValidIdRange;
@MessageLogger(projectCode = "JBERET")
@ValidIdRange(min = 71000, max = 71999)
public interface RestAPILogger extends BasicLogger {
RestAPILogger LOGGER = Logger.getMessageLogger(RestAPILogger.class, "org.jberet.rest-api");
@Message(id = 71000, value = "Exception occurred when accessing JBeret Rest API:")
@LogMessage(level = Logger.Level.WARN)
void exceptionAccessingRestAPI(@Cause Throwable ex);
}