]> 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
Upgrade to Maven 2.0.9 (in order to support import id DependencyManagement)
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.maven / src / main / java / org / argeo / slc / maven / embedder / MavenEmbedderLogger.java
1 package org.argeo.slc.maven.embedder;
2
3 /*
4 * Copyright 2001-2005 The Apache Software Foundation.
5 *
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
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
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.
17 */
18
19 /**
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 $
22 */
23 public interface MavenEmbedderLogger
24 {
25 int LEVEL_DEBUG = 0;
26
27 int LEVEL_INFO = 1;
28
29 int LEVEL_WARN = 2;
30
31 int LEVEL_ERROR = 3;
32
33 int LEVEL_FATAL = 4;
34
35 int LEVEL_DISABLED = 5;
36
37 void debug( String message );
38
39 void debug( String message, Throwable throwable );
40
41 boolean isDebugEnabled();
42
43 void info( String message );
44
45 void info( String message, Throwable throwable );
46
47 boolean isInfoEnabled();
48
49 void warn( String message );
50
51 void warn( String message, Throwable throwable );
52
53 boolean isWarnEnabled();
54
55 void error( String message );
56
57 void error( String message, Throwable throwable );
58
59 boolean isErrorEnabled();
60
61 void fatalError( String message );
62
63 void fatalError( String message, Throwable throwable );
64
65 boolean isFatalErrorEnabled();
66
67 void setThreshold( int threshold );
68
69 int getThreshold();
70 }