Class DefaultLogger

  • All Implemented Interfaces:
    org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, Logger

    @Component(role=Logger.class)
    public class DefaultLogger
    extends java.lang.Object
    implements Logger, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
    Author:
    Mikolaj Izdebski
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultLogger()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void debug​(java.lang.String format, java.lang.Object... args)  
      void error​(java.lang.String format, java.lang.Object... args)  
      void info​(java.lang.String format, java.lang.Object... args)  
      void initialize()  
      boolean isDebugEnabled()  
      void warn​(java.lang.String format, java.lang.Object... args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultLogger

        public DefaultLogger()
    • Method Detail

      • initialize

        public void initialize()
                        throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
        Specified by:
        initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
        Throws:
        org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
      • isDebugEnabled

        public boolean isDebugEnabled()
        Specified by:
        isDebugEnabled in interface Logger
      • debug

        public void debug​(java.lang.String format,
                          java.lang.Object... args)
        Specified by:
        debug in interface Logger
      • info

        public void info​(java.lang.String format,
                         java.lang.Object... args)
        Specified by:
        info in interface Logger
      • warn

        public void warn​(java.lang.String format,
                         java.lang.Object... args)
        Specified by:
        warn in interface Logger
      • error

        public void error​(java.lang.String format,
                          java.lang.Object... args)
        Specified by:
        error in interface Logger