Package groovy.util

Class GroovyLog

  • All Implemented Interfaces:
    GroovyObject

    @Deprecated
    public class GroovyLog
    extends GroovyObjectSupport
    Deprecated.
    Represents an arbitrary logging service. By default this outputs to System.out though derivations of this class could log to Jakarta Commons Logging or log4j or JDK 1.5 logging etc
    Version:
    $Revision$
    Author:
    James Strachan
    • Constructor Detail

      • GroovyLog

        public GroovyLog()
        Deprecated.
      • GroovyLog

        public GroovyLog​(java.lang.Class type)
        Deprecated.
      • GroovyLog

        public GroovyLog​(java.lang.Object obj)
        Deprecated.
      • GroovyLog

        public GroovyLog​(java.lang.String prefix)
        Deprecated.
    • Method Detail

      • newInstance

        public static GroovyLog newInstance​(java.lang.Class aClass)
        Deprecated.
        Factory method to create new instances
      • invokeMethod

        public java.lang.Object invokeMethod​(java.lang.String name,
                                             java.lang.Object args)
        Deprecated.
        Description copied from interface: GroovyObject
        Invokes the given method.
        Specified by:
        invokeMethod in interface GroovyObject
        Overrides:
        invokeMethod in class GroovyObjectSupport
        Parameters:
        name - the name of the method to call
        args - the arguments to use for the method call
        Returns:
        the result of invoking the method