1 // ========================================================================
2 // Licensed under the Apache License, Version 2.0 (the "License");
3 // you may not use this file except in compliance with the License.
4 // You may obtain a copy of the License at
5 // http://www.apache.org/licenses/LICENSE-2.0
6 // Unless required by applicable law or agreed to in writing, software
7 // distributed under the License is distributed on an "AS IS" BASIS,
8 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9 // See the License for the specific language governing permissions and
10 // limitations under the License.
11 // ========================================================================
12 package com.sun.org.apache.commons.logging;
13
14
15
16
17
18 public interface Log
19 {
20 public void fatal (Object message);
21
22
23 public void fatal (Object message, Throwable t);
24
25
26 public void debug(Object message);
27
28
29 public void debug (Object message, Throwable t);
30
31
32 public void trace (Object message);
33
34
35
36 public void info(Object message);
37
38
39 public void error(Object message);
40
41
42 public void error(Object message, Throwable cause);
43
44
45 public void warn(Object message);
46
47
48 public boolean isDebugEnabled ();
49
50
51 public boolean isWarnEnabled ();
52
53
54 public boolean isInfoEnabled ();
55
56
57
58 public boolean isErrorEnabled ();
59
60
61
62 public boolean isTraceEnabled ();
63
64 }