Top Description Methods
org.jboss.logging.annotations

public @Interface LogMessage

extends Annotation
Annotations
@Retention:CLASS
@Target:METHOD
@Documented
Static Imports
java.lang.annotation.ElementType.METHOD, .RetentionPolicy.CLASS

A typed logger method. Indicates that this method will log the associated Message to the logger system, as opposed to being a simple message lookup.
Author
David M. Lloyd

Method Summary

Modifier and TypeMethod and Description
public Logger.Level

Returns:

the log level
level
()

The log level at which this message should be logged.

public Class<?>

Returns:

the logging class name
loggingClass
()

The logging class name to use for this message, if any.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

levelback to summary
public Logger.Level level()

The log level at which this message should be logged. Defaults to INFO.

Returns:Logger.Level

the log level

loggingClassback to summary
public Class<?> loggingClass()

The logging class name to use for this message, if any.

Returns:Class<?>

the logging class name