001 /*
002 * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
003 * agreements. See the NOTICE file distributed with this work for additional information regarding
004 * copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
005 * "License"); you may not use this file except in compliance with the License. You may obtain a
006 * copy of the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software distributed under the License
011 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
012 * or implied. See the License for the specific language governing permissions and limitations under
013 * the License.
014 */
015
016 package org.apache.maven.lifecycle.internal.stub;
017
018 import org.codehaus.plexus.logging.Logger;
019
020 /**
021 * @author Kristian Rosenvold
022 */
023 public class LoggerStub
024 implements Logger
025 {
026 public void debug( String s )
027 {
028 }
029
030 public void debug( String s, Throwable throwable )
031 {
032 }
033
034 public boolean isDebugEnabled()
035 {
036 return true;
037 }
038
039 public void info( String s )
040 {
041 }
042
043 public void info( String s, Throwable throwable )
044 {
045 }
046
047 public boolean isInfoEnabled()
048 {
049 return true;
050 }
051
052 public void warn( String s )
053 {
054 }
055
056 public void warn( String s, Throwable throwable )
057 {
058 }
059
060 public boolean isWarnEnabled()
061 {
062 return true;
063 }
064
065 public void error( String s )
066 {
067 }
068
069 public void error( String s, Throwable throwable )
070 {
071 }
072
073 public boolean isErrorEnabled()
074 {
075 return true;
076 }
077
078 public void fatalError( String s )
079 {
080 }
081
082 public void fatalError( String s, Throwable throwable )
083 {
084 }
085
086 public boolean isFatalErrorEnabled()
087 {
088 return true;
089 }
090
091 public Logger getChildLogger( String s )
092 {
093 return null;
094 }
095
096 public int getThreshold()
097 {
098 return 0;
099 }
100
101 public void setThreshold( int i )
102 {
103
104 }
105
106 public String getName()
107 {
108 return "StubLogger";
109 }
110 }