
org.hibernate.testing.orm.junit.Logger Maven / Gradle / Ivy
/*
* 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 "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy