1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
3    * agreements. See the NOTICE file distributed with this work for additional information regarding
4    * copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
5    * "License"); you may not use this file except in compliance with the License. You may obtain a
6    * copy of the License at
7    *
8    * http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software distributed under the License
11   * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing permissions and limitations under
13   * the License.
14   */
15  
16  package org.apache.maven.lifecycle.internal.stub;
17  
18  import org.codehaus.plexus.logging.Logger;
19  
20  /**
21   * @author Kristian Rosenvold
22   */
23  public class LoggerStub
24      implements Logger
25  {
26      public void debug( String s )
27      {
28      }
29  
30      public void debug( String s, Throwable throwable )
31      {
32      }
33  
34      public boolean isDebugEnabled()
35      {
36          return true;
37      }
38  
39      public void info( String s )
40      {
41      }
42  
43      public void info( String s, Throwable throwable )
44      {
45      }
46  
47      public boolean isInfoEnabled()
48      {
49          return true;
50      }
51  
52      public void warn( String s )
53      {
54      }
55  
56      public void warn( String s, Throwable throwable )
57      {
58      }
59  
60      public boolean isWarnEnabled()
61      {
62          return true;
63      }
64  
65      public void error( String s )
66      {
67      }
68  
69      public void error( String s, Throwable throwable )
70      {
71      }
72  
73      public boolean isErrorEnabled()
74      {
75          return true;
76      }
77  
78      public void fatalError( String s )
79      {
80      }
81  
82      public void fatalError( String s, Throwable throwable )
83      {
84      }
85  
86      public boolean isFatalErrorEnabled()
87      {
88          return true;
89      }
90  
91      public Logger getChildLogger( String s )
92      {
93          return null;
94      }
95  
96      public int getThreshold()
97      {
98          return 0;
99      }
100 
101     public void setThreshold( int i )
102     {
103 
104     }
105 
106     public String getName()
107     {
108         return "StubLogger";
109     }
110 }