Package: org.codehaus.groovy.transform

## [Java] Class LogASTTransformation.AbstractLoggingStrategyV2

- org.codehaus.groovy.transform.LogASTTransformation.AbstractLoggingStrategyV2

- All Implemented Interfaces and Traits:
    LogASTTransformation.LoggingStrategyV2

      public static abstract class LogASTTransformation.AbstractLoggingStrategyV2
      extends LogASTTransformation.AbstractLoggingStrategy
      implements LogASTTransformation.LoggingStrategyV2

  Base class for logging strategy implementations supporting the v2 logging API.

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class LogASTTransformation.AbstractLoggingStrategy` | `loader`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `protected AbstractLoggingStrategyV2(GroovyClassLoader loader)` Creates a new logging strategy with the given class loader.
    `protected AbstractLoggingStrategyV2()` Creates a new logging strategy using the default class loader.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public FieldNode` | `addLoggerFieldToClass(ClassNode classNode, String fieldName, String categoryName)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class LogASTTransformation.AbstractLoggingStrategy` | `classNode`

- - ### Constructor Detail

    - #### protected AbstractLoggingStrategyV2(GroovyClassLoader loader)

      Creates a new logging strategy with the given class loader.

      Parameters:
        `loader` - the class loader for loading logging implementation classes

    - #### protected AbstractLoggingStrategyV2()

      Creates a new logging strategy using the default class loader.

  - ### Method Detail

    - #### public FieldNode addLoggerFieldToClass(ClassNode classNode, String fieldName, String categoryName)