LogMessage (JBoss Logging I18n Documentation 2.2.1.Final API)

org.jboss.logging.annotations

## Annotation Type LogMessage

-     @Retention(value=CLASS)
       @Target(value=METHOD)
       @Documented
      public @interface LogMessage

  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

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `org.jboss.logging.Logger.Level` | `level` The log level at which this message should be logged.
    `Class<?>` | `loggingClass` The logging class name to use for this message, if any.

- - ### Element Detail

    - #### level

          public abstract org.jboss.logging.Logger.Level level

      The log level at which this message should be logged. Defaults to `INFO`.
      Returns:
        the log level
      Default:
        org.jboss.logging.Logger.Level.INFO

  - - #### loggingClass

          public abstract Class<?> loggingClass

      The logging class name to use for this message, if any.
      Returns:
        the logging class name
      Default:
        java.lang.Void.class

Copyright © 2019 JBoss by Red Hat. All rights reserved.