Annotation Type Logger


  • @Target({PACKAGE,TYPE})
    @Retention(RUNTIME)
    @Documented
    public @interface Logger
    This annotation is for specifying the logger to use for the given package or class.

    By default, the logger to use is identified by the package name of the object that log messages. By using this annotation, this rule is bypassed and the namespace specified in the annotation's value is then used to get the logger to use for logging messages.

    Author:
    mmoquillon
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value  
    • Element Detail

      • value

        String value
        Returns:
        the namespace of the logger.