org.hibernate.testing.orm.junit.Logger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-testing-jakarta Show documentation
Show all versions of hibernate-testing-jakarta Show documentation
Support for testing Hibernate ORM Jakarta functionality
/*
* 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 extends BasicLogger> 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 "";
}