Improve Pool
[aaf/authz.git] / cadi / core / src / main / java / org / onap / aaf / cadi / util / Log.java
1 /**
2  * ============LICENSE_START====================================================
3  * Log
4  * ===========================================================================
5  * Copyright (c) May 11, 2020 Gathman Systems. All rights reserved.
6  * ===========================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END====================================================
19  */
20 package org.onap.aaf.cadi.util;
21
22 /**
23  * A basic log interface used to Facade into Log Libraries used locally.
24  * 
25  * @author Jonathan
26  *
27  */
28 public interface Log {
29         enum Type {debug,info,warn,error,trace};
30     public void log(Log.Type type, Object ... o);
31
32     public final static Log NULL = new Log() {
33         @Override
34         public void log(Log.Type type, Object ... o) {
35         }
36     };
37 }