Annotation Type LoggerResource

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class categoryClass
      Optional log category class.
      String categoryName
      Optional log category name.
    • Element Detail

      • categoryClass

        Class categoryClass
        Optional log category class. If not provided (i.e. by default Void class is returned), then the category will be the class into which resource is assigned.

        Either categoryClass or categoryName() can be provided, by not both.

        Returns:
        Category class of the injected logger.
        Default:
        java.lang.Void.class
      • categoryName

        String categoryName
        Optional log category name. If not provided, then categoryClass() value will be used.

        Either categoryName or categoryClass() can be provided, by not both.

        Returns:
        Category name for the injected logger.
        Default:
        ""