]>
git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.maven/src/main/java/org/argeo/slc/maven/embedder/MavenEmbedderLogger.java
1 package org
.argeo
.slc
.maven
.embedder
;
4 * Copyright 2001-2005 The Apache Software Foundation.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
21 * @version $Id: MavenEmbedderLogger.java 293410 2005-10-03 18:06:00Z jdcasey $
23 public interface MavenEmbedderLogger
35 int LEVEL_DISABLED
= 5;
37 void debug( String message
);
39 void debug( String message
, Throwable throwable
);
41 boolean isDebugEnabled();
43 void info( String message
);
45 void info( String message
, Throwable throwable
);
47 boolean isInfoEnabled();
49 void warn( String message
);
51 void warn( String message
, Throwable throwable
);
53 boolean isWarnEnabled();
55 void error( String message
);
57 void error( String message
, Throwable throwable
);
59 boolean isErrorEnabled();
61 void fatalError( String message
);
63 void fatalError( String message
, Throwable throwable
);
65 boolean isFatalErrorEnabled();
67 void setThreshold( int threshold
);