2 * ================================================================================
3 * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
4 * ================================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 * ============LICENSE_END=========================================================
20 package org.onap.dcae.utils.eelf.logger.api.spec;
22 import org.onap.dcae.utils.eelf.logger.api.info.CodeLogInfo;
23 import org.onap.dcae.utils.eelf.logger.api.info.CustomFieldsLogInfo;
24 import org.onap.dcae.utils.eelf.logger.api.info.MessageLogInfo;
25 import org.onap.dcae.utils.eelf.logger.api.info.MiscLogInfo;
28 * Captures fields which are optional or derived from other fields
30 * @author Rajiv Singla
32 public interface OptionalLogSpec extends
33 // message fields are mostly auto generated or can be derived from other fields
35 // Code log info can be derived by the underlying logging framework or provided optionally by the app
37 // custom and misc log info are mostly optional
38 CustomFieldsLogInfo, MiscLogInfo {