01: // ========================================================================
02: // Licensed under the Apache License, Version 2.0 (the "License");
03: // you may not use this file except in compliance with the License.
04: // You may obtain a copy of the License at
05: // http://www.apache.org/licenses/LICENSE-2.0
06: // Unless required by applicable law or agreed to in writing, software
07: // distributed under the License is distributed on an "AS IS" BASIS,
08: // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
09: // 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: public interface Log {
15: public void fatal(Object message);
16:
17: public void fatal(Object message, Throwable t);
18:
19: public void debug(Object message);
20:
21: public void debug(Object message, Throwable t);
22:
23: public void trace(Object message);
24:
25: public void info(Object message);
26:
27: public void error(Object message);
28:
29: public void error(Object message, Throwable cause);
30:
31: public void warn(Object message);
32:
33: public boolean isDebugEnabled();
34:
35: public boolean isWarnEnabled();
36:
37: public boolean isInfoEnabled();
38:
39: public boolean isErrorEnabled();
40:
41: public boolean isTraceEnabled();
42:
43: }
|