Package: org.codehaus.groovy.transform

## [Java] Class LogASTTransformation.AbstractLoggingStrategyV2

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

- All Implemented Interfaces and Traits:
    LoggingStrategyV2

      public static abstract class LogASTTransformation.AbstractLoggingStrategyV2
      extends AbstractLoggingStrategy
      implements LoggingStrategyV2

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

- - ### 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)`

- - ### 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)