# Package groovy.util.logging

package groovy.util.logging
Logging framework integration via AST transformations.

Automatic logger injection for: `@Log` (java.util.logging), `@Commons` (Apache Commons Logging), and @Log4j/@Slf4j/@Log4j2/@PlatformLog for other frameworks. Includes automatic log-level guard optimization.

- Related Packages
  Package
  Description
  groovy.util
  Various Groovy utilities for working with nodes, builders, logging, and other things.
  groovy.util.function
  Classes for functional interfaces.
  groovy.util.regex
- Class
  Description
  Commons
  This local transform adds a logging ability to your program using Apache Commons logging.
  Commons.CommonsLoggingStrategy
  Logging strategy for Apache Commons Logging.
  Log
  This local transform adds a logging ability to your program using java.util.logging.
  Log.JavaUtilLoggingStrategy
  This class contains the logic of how to weave a Java Util Logging logger into the host class.
  Log4j
  This local transform adds a logging ability to your program using Log4j logging.
  Log4j.Log4jLoggingStrategy
  Logging strategy for Log4j 1.x.
  Log4j2
  This local transform adds a logging ability to your program using Log4j2 logging.
  Log4j2.Log4j2LoggingStrategy
  Logging strategy for Log4j 2.
  PlatformLog
  This local transform adds a logging ability to your program using java.logging.
  PlatformLog.JavaUtilLoggingStrategy
  This class contains the logic of how to weave a Java platform logger into the host class.
  Slf4j
  This local transform adds a logging ability to your program using LogBack logging.
  Slf4j.Slf4jLoggingStrategy
  Logging strategy for SLF4J.