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

org.hibernate.testing.orm.junit.Logger Maven / Gradle / Ivy

There is a newer version: 5.6.15.Final
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later
 * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html
 */
package org.hibernate.testing.orm.junit;

/**
 * Must specify one of {@link #loggerNameClass} or {@link #loggerName()}
 */
public @interface Logger {
	// I think we can actually look up the "bare" Logger and still get the same
	// capability in terms of register listeners
	//Class messageLoggerClass() default CoreMessageLogger.class;

	/**
	 * The `Class` used as the base for the logger name.
	 *
	 * @see org.jboss.logging.Logger#getLogger(Class)
	 */
	Class loggerNameClass() default void.class;

	/**
	 * The `Class` used as the base for the logger name.
	 *
	 * @see org.jboss.logging.Logger#getLogger(Class)
	 */
	String loggerName() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy