public static abstract class LogASTTransformation.AbstractLoggingStrategyV2
extends AbstractLoggingStrategy
implements LoggingStrategyV2
Base class for logging strategy implementations supporting the v2 logging API.
| 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. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public FieldNode |
addLoggerFieldToClass(ClassNode classNode, String fieldName, String categoryName) |
Creates a new logging strategy with the given class loader.
loader - the class loader for loading logging implementation classesCreates a new logging strategy using the default class loader.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.