Uploaded image for project: 'Solder'
  1. Solder
  2. SOLDER-55

Allow logger category to be specified using reference to type

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.Beta1
    • Component/s: Logging
    • Labels:
      None
    • Affects:
      Documentation (Ref Guide, User Guide, etc.)
    • Estimated Difficulty:
      Low

      Description

      We've tried to get away from strings as much as possible in CDI and Solder. Thus, it's fitting that a logger category should be allowed to be specified using a reference to a type.

      Here's an example:

      @Inject @TypedCategory(BillingService.class)
      private Logger logger;

      Support @TypedCategory as an alternative to @Category.

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              dan.j.allen Dan Allen
              Reporter:
              dan.j.allen Dan Allen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development